Skip to content

Commit 57bdfb3

Browse files
authored
Metrics: update rafana_image_renderer_step_duration_seconds buckets (#287)
1 parent 0e8e48d commit 57bdfb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plugin/v2/grpc_plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ const setupMetrics = (): PluginMetrics => {
279279
name: 'grafana_image_renderer_step_duration_seconds',
280280
help: 'duration histogram of browser steps for rendering an image labeled with: step',
281281
labelNames: ['step'],
282-
buckets: [0.3, 0.5, 1, 2, 3, 5],
282+
buckets: [0.1, 0.3, 0.5, 1, 3, 5, 10, 20, 30],
283283
}),
284284
};
285285
};

src/service/http-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class HttpServer {
9999
name: 'grafana_image_renderer_step_duration_seconds',
100100
help: 'duration histogram of browser steps for rendering an image labeled with: step',
101101
labelNames: ['step'],
102-
buckets: [0.3, 0.5, 1, 2, 3, 5],
102+
buckets: [0.1, 0.3, 0.5, 1, 3, 5, 10, 20, 30],
103103
}),
104104
};
105105
this.browser = createBrowser(this.config.rendering, this.log, metrics);

0 commit comments

Comments
 (0)