opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

system.memory.usage has no temporality and type being sent

Open wbtan7 opened this issue 1 year ago • 0 comments
trafficstars

Describe your environment

OS: (e.g, Ubuntu) Python version: (e.g., Python 3.8.10) Package version: (e.g., 0.46.0)

What happened?

system.memory.usage has no temporality and type being sent, should it be standardize as the receiver https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/documentation.md?

Steps to Reproduce

metric_exporter = OTLPMetricExporter(endpoint="xxx", max_export_batch_size=512) set_meter_provider(MeterProvider([PeriodicExportingMetricReader(metric_exporter), PeriodicExportingMetricReader(ConsoleMetricExporter())], resource=resource)) SystemMetricsInstrumentor().instrument()

Expected Result

My dashboard expecting those 2 column to be filled.

Actual Result

temporality = 'Unspecified', type = 'Gauge'

Additional context

No response

Would you like to implement a fix?

None

wbtan7 avatar Sep 05 '24 17:09 wbtan7