Skip to content

Nuget Packages describe the telemetry which is emitted #14663

@thompson-tomo

Description

@thompson-tomo

NuGet Product(s) Involved

NuGet SDK

The Elevator Pitch

It would be great if when we are looking at a package we could see if the package natively produces telemetry (spans/metrics etc) that way we can make a more informed decision on which library to use. This information should be visible in the gallery.

Additional Context and Details

Within opentelemetry there is the concept of schema url to describe the version of telemetry, this field should be able to be replicated into the package definition.

I would suggest we have a telemetry object in the package definition with the following optional properties:

  • SchemaUrl -> this would indicate if opentelemetry definitions are being followed including which version
  • definition -> a link to a seperate file describing the signal which is important for indicating what opt-in attributes are supported and very important for when conventions are not being followed.
  • Hooks -> link to another package which adds telemetry to the package. This could be by the same author or it could be someone else ie opentelemetry contrib.

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