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 to function.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 to function_calls_duration_seconds
- All queries should be updated to use the
function_calls_total and function_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:
As discussed here, OpenTelemetry is changing its semantic conventions to remove the
.countsuffix. Also, as discussed here, the histogram should include the units in the name for Prometheus.We should update all of the libraries such that:
function.calls.counttofunction.callsfunction_calls_totaland the histogram is renamed tofunction_calls_duration_secondsfunction_calls_totalandfunction_calls_duration_secondsname. 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:
function.calls.counttofunction.callsautometrics-go#54