You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a node exporter that is collecting metrics data and I have tried to push the collected data to Splunk using both Prometheus and Opentelemetry service. I had noticed that the name of metrics pushed to Splunk through Prometheus are the same as in node exporter but are different when it is pushed through Opentelemetry.
Steps to Reproduce
I have configured the .yaml file for Prometheus and Opentelemetry to monitor the same node exporter instance, then run the binary with the configuration file. Please refer to the OpenTelemetry Collector configuration for more details.
Expected Result
Metrics displayed in node exporter instance:
node_mountstats_nfs_operations_received_bytes_total{export="",mountaddr="",operation="",protocol=""} 2520
Metrics displayed in Splunk through Prometheus service:
node_mountstats_nfs_operations_received_bytes_total
Metrics displayed in Splunk through Opentelemetry service:
node_mountstats_nfs_operations_received_bytes_total
Actual Result
Metrics displayed in node exporter instance:
node_mountstats_nfs_operations_received_bytes_total{export="",mountaddr="",operation="",protocol=""} 2520
Metrics displayed in Splunk through Prometheus service:
node_mountstats_nfs_operations_received_bytes_total
Metrics displayed in Splunk through Opentelemetry service:
Unable to collect the metrics when specifying the metric name "node_mountstats_nfs_operations_received_bytes_total" but able to collect metrics when specifying the metric name "node_mountstats_nfs_operations_received_bytes". Both are the same metric just the naming is different.
Can I ask why is there naming difference for metrics collected using the same node exporter? and
Is there a way to check what is the correct naming that I need to use at the filter process in Opentelemetry to allow me to filter the metrics I want please?
Thank you very much.
Best Regards,
Kelvin Tan Jun Feng.
The text was updated successfully, but these errors were encountered:
Component(s)
receiver/prometheus
What happened?
Description
I have a node exporter that is collecting metrics data and I have tried to push the collected data to Splunk using both Prometheus and Opentelemetry service. I had noticed that the name of metrics pushed to Splunk through Prometheus are the same as in node exporter but are different when it is pushed through Opentelemetry.
Steps to Reproduce
I have configured the .yaml file for Prometheus and Opentelemetry to monitor the same node exporter instance, then run the binary with the configuration file. Please refer to the OpenTelemetry Collector configuration for more details.
Expected Result
Metrics displayed in node exporter instance:
node_mountstats_nfs_operations_received_bytes_total{export="",mountaddr="",operation="",protocol=""} 2520
Metrics displayed in Splunk through Prometheus service:
node_mountstats_nfs_operations_received_bytes_total
Metrics displayed in Splunk through Opentelemetry service:
node_mountstats_nfs_operations_received_bytes_total
Actual Result
Metrics displayed in node exporter instance:
node_mountstats_nfs_operations_received_bytes_total{export="",mountaddr="",operation="",protocol=""} 2520
Metrics displayed in Splunk through Prometheus service:
node_mountstats_nfs_operations_received_bytes_total
Metrics displayed in Splunk through Opentelemetry service:
Unable to collect the metrics when specifying the metric name "node_mountstats_nfs_operations_received_bytes_total" but able to collect metrics when specifying the metric name "node_mountstats_nfs_operations_received_bytes". Both are the same metric just the naming is different.
Collector version
v0.77.0
Environment information
Environment
OS: x86-64_linux_4.12_ImageSLES12SP5
OpenTelemetry Collector configuration
Log output
No response
Additional context
Can I ask why is there naming difference for metrics collected using the same node exporter? and
Is there a way to check what is the correct naming that I need to use at the filter process in Opentelemetry to allow me to filter the metrics I want please?
Thank you very much.
Best Regards,
Kelvin Tan Jun Feng.
The text was updated successfully, but these errors were encountered: