Open
Description
As discussed here, OpenTelemetry is changing its semantic conventions to remove the .count
suffix. Also, as discussed here, the histogram should include the units in the name for Prometheus.
We should update all of the libraries such that:
- The counter is renamed from
function.calls.count
tofunction.calls
- The histogram should include the unit as seconds (in the OpenTelemetry metadata or in the name for Prometheus)
- When the metrics are exported to Prometheus, we should ensure that the counter is renamed to
function_calls_total
and the histogram is renamed tofunction_calls_duration_seconds
- All queries should be updated to use the
function_calls_total
andfunction_calls_duration_seconds
name. We can give people time to update things by making the alerting rules and dashboards support the new and old names using regular expressions.
TODO:
- Spec Rename metrics to match OpenTelemetry/OpenMetrics naming conventions #60
- Dashboards and alerting rules Rename metrics and add service_name #73
- VS Code Extension Support renamed metrics vscode-autometrics#55
- Rust Rename metrics to be in line with OpenTelemetry/OpenMetrics specs autometrics-rs#118
- Go Rename metrics from
function.calls.count
tofunction.calls
autometrics-go#54 - TypeScript Rename metrics autometrics-ts#84
- Python Rename metrics autometrics-py#60
- C# Rename metrics autometrics-cs#11
- Java Rename metrics jamsiedaly/autometricsj#3
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress