dotnet / dotnet/dotnet-api-docs

Update `Histogram<T>` docs to note that `decimal` data will not be exported

Open
#10,615 3 comments 0 reactions 0 assignees View on GitHub
area-System.Diagnostics.Metric Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Describe the issue or suggestion

As per https://github.com/open-telemetry/opentelemetry-dotnet/issues/5615 when creating a `Histogram` the data will not acutally be exported.

Since the generic type param will accept a `decimal` it could be best to just add a second remark that when using it the data wont actualy be exported? Of course just removing `decimal` from the current list of types would also work.

Current Docs: https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics.histogram-1

Happy to make a pull request doing the work however, I am not entirely sure what should be done.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.