Skip to content

Commit

Permalink
Merge pull request #372 from matrix-org/j94/matrix_api_calls_failed-help
Browse files Browse the repository at this point in the history
Clarify help of matrix_api_calls_failed metric
  • Loading branch information
Christian Paul authored Nov 10, 2021
2 parents 7b4f1eb + 17239f3 commit b57a3f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/372.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify help text of matrix_api_calls_failed metric
4 changes: 2 additions & 2 deletions src/components/prometheusmetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,12 @@ export class PrometheusMetrics {
public registerMatrixSdkMetrics(appservice: BotSdkAppservice): void {
const callCounts = this.addCounter({
name: "matrix_api_calls",
help: "Count of the number of Matrix client API calls made",
help: "The number of Matrix client API calls made",
labels: ["method"],
});
const callCountsFailed = this.addCounter({
name: "matrix_api_calls_failed",
help: "Count of the number of Matrix client API calls made",
help: "The number of Matrix client API calls which failed",
labels: ["method"],
});

Expand Down

0 comments on commit b57a3f2

Please sign in to comment.