Skip to content

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

Open
@wbtan7

Description

@wbtan7

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions