-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
Description
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.