Repository navigation
Closed
Labels
EpicGroups multiple user stories. Can be grouped under a theme.Priority:2Work that is important, but not critical for the releaseTeam:Librariesarea-System.Diagnostics
Milestone
Description
This issue captures the planned work for .NET 7. This list is expected to change throughout the release cycle according to ongoing planning and discussions, with possible additions and subtractions to the scope.
Planned for .NET 7
- Investigate what metrics need to be added to the runtime #63649
- Support Metrics UpDownCounter instrument #63648
- [API Proposal]: System.Diagnostics.Activity: Enumeration API [Iteration 2] #67207
- [API Proposal]: Api handle Activity.Current value changes #67276
- Samplers should be allowed to modify tracestate #63652
- ActivityContext.TryParse should support IsRemote #42575
- [API Proposal]: Activity.IsStopped (functionality required to conform to OpenTelemetry specification) #63353
- [API Proposal]: Activity.HasRemoteParent (and problematic docs for Activity.Parent) #65660
- Libraries like HttpClient use legacy activity creation, requiring hacks in OpenTelemetry SDK #63868
- [API Proposal]: System.Diagnostics.ActivityLink/ActivityEvent: Enumeration API #68056
Planned for .NET 8+
- Add "hints" in Metric API to provide things like histogram bounds #63650
- [Feature Request] Allow libraries that don't use DI to make use of ILogger #50777
- Explore using EventSource in front of ILogger #12750
- EventSource improvements for text logging #12730
- ActivityTraceFlags is not reflected in Activity Id when updated after activity start() #61857
- Currently there is an applied workaround for that
- Add schema URL support #63651
- Spec exists already
- Strong type support in Microsoft.Extensions.Logging #61947
- @reyang is following up with creating a prototype using Source Generators
- Activity should have AddExceptionMethod #53641
- OTel specs dependency
- Attribute Extractor Support
- OTel Specs dependency
- @noahfalk following up with this item
- Add Timer instrument
- OTel specs dependency
- Support Bound instruments
- OTel specs dependency
- OTel Baggage signal is independent of tracing, where .NET Baggage is associated with Activity
- Cijo going to send the link for this item
- Need to figure out who is asking for that and need to clarify the ask
- P3 till we get specific ask
- OTel propagators support OTel Baggage, .NET propagators does not
- Cijo going to send the link for this item
- Need to figure out who is asking for that and need to clarify the ask
- P3 till we get specific ask
Reacted by Reiley Yang, Alan West, Cijo Thomas, ArgTang, Peter Wiese, Michael Maxwell, John, Denis Ivanov and Tequila Sunset
Metadata
Metadata
Assignees
Labels
EpicGroups multiple user stories. Can be grouped under a theme.Priority:2Work that is important, but not critical for the releaseTeam:Librariesarea-System.Diagnostics
Activity
tarekgh commentedon Nov 24, 2021
CC @noahfalk @shirhatti @cijothomas @reyang @maryamariyan
[-]Observability candidate items for .NET 7.0[/-][+]System.Diagnostics (Observability) work planned for .NET 7[/+]ejsmith commentedon Apr 29, 2022
@tarekgh this OpenTelemetry spec feature is really important for a lot of scenarios:
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#multiple-instrument-callbacks
I am attempting to populate queue stats like queue count, working item count and deadletter counts as 3 different observable gauges. Getting the counts requires an expensive call and, when I make that, it returns all 3 counts at the same time. The problem is since gauges are required to be observable, I have to give different callbacks for each gauge. I think there are a lot of similar use cases that would greatly benefit from this feature being implemented.
tarekgh commentedon May 2, 2022
@ejsmith thanks for the suggestion. For now, you may solve this by using the following simple workaround:
and here is an example how to use it:
I assume your gauges are going to be observed at the same time. But if not, it is easy to tweak this implementation to invalidate the values periodically.
CC @noahfalk @reyang @CodeBlanch
ejsmith commentedon May 2, 2022
@tarekgh I'll give this method a try. I tried something similar, but it didn't work.
ejsmith commentedon May 2, 2022
@tarekgh that did work. Thank you!
noahfalk commentedon Jul 26, 2022
@tarekgh - how do you feel about closing this issue and we can re-open a new one once we've made plans with the OpenTelemetry folks for .NET 8? We can always refer back to this issue if we want to see the list of items we were considering - the list won't be lost.