Skip to content

Rate metrics are not displayed properly #5496

@leidegre

Description

@leidegre

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I opened a discussion about this but I think this might be a bug.

I have a instrument that is using the unit By/s which is later exported via OTLP to Aspire dashboard (standalone) but this is showing up in the dashboard as "Bytes Perseconds" which seems wrong.

image

This might be specific to OTLP so I tried to change the unit to bytes_per_second this shows up with a nicer label but it isn't really presenting as a throughput or rate metric, i.e. one over.

Expected Behavior

I would expect this to be recognized as a rate metric of correct units. I would also expect the Aspire dashboard to present this data using MB/s or something suitable and not like now, where it's not even recognizing that these are bytes.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions