When network metrics are sent via Prometheus or via an intermadiate OTEL collector, the metrics are queryable as beyla_network_flow_metrics_total in Grafana.
When we use the OTEL endpoint in Grafana Cloud, metrics are visible as beyla_network_flow_metrics, without the _total.
This PR adds explicitly the .total suffix to the OTEL exporter.
Unchanged integration tests verify that, when an OTEL collector is used, it won't duplicate the _total_total suffix.
When network metrics are sent via Prometheus or via an intermadiate OTEL collector, the metrics are queryable as
beyla_network_flow_metrics_total
in Grafana.When we use the OTEL endpoint in Grafana Cloud, metrics are visible as
beyla_network_flow_metrics
, without the_total
.This PR adds explicitly the
.total
suffix to the OTEL exporter.Unchanged integration tests verify that, when an OTEL collector is used, it won't duplicate the
_total_total
suffix.