Comments (3)
Maybe the more usual path is to replace Application Insights libraries with OT and use the Azure Monitor exporter from the outset rather than going with the OT Collector first, and that is why the issue has not been discovered/reported before. Or maybe it is because the default OT sampler samples all root activities, so replacing it with a sampler that samples all activities (ignoring parent context) will generate the same telemetry in many applications. It's only when you actually care about not setting the W3C recorded flag too often (and respecting the flag if set in the context) that you will really notice.
It's a shame that the clobbering behaviour cannot be changed. But at least with updated documentation, the next team trying to figure out why sampling policy is not respected will have a chance of doing so more quickly.
from azure-sdk-for-net.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cijothomas @rajkumar-rangaraj @reyang @TimothyMothra @vishweshbankwar.
from azure-sdk-for-net.
This is unfortunate, but since the library is already stable, the behavior cannot be changed. All we can do is to ensure the doc is pretty clear on what are the effects of calling AddAzMonExporter, so users can take precaution and workarounds.
from azure-sdk-for-net.
Related Issues (20)
- [OpenAI] Instructions on how to consume local NuGet packages HOT 1
- [BUG] Azure Communication CallAutomation samples don't match real API HOT 1
- [BUG] Add missing streaming support to the Assistants API HOT 1
- [QUERY] Set blob property, content-type HOT 3
- Implement unbranded `ToDynamicFromJson` HOT 3
- [OpenAI] Implement preview `AudioClient`'s protocol methods
- [FEATURE REQ] Improve documentation around writing tests HOT 2
- [OpenAI] Implement preview `ChatClient`'s protocol methods
- [OpenAI] Implement preview `EmbeddingClient`'s protocol methods
- [OpenAI] Implement preview `FileClient`'s protocol methods HOT 1
- [OpenAI] Implement preview `ImageClient`'s protocol methods HOT 1
- [OpenAI] Implement preview `FineTuningClient`'s protocol methods
- [OpenAI] Implement preview `ModelManagementClient`'s protocol methods
- [OpenAI] Implement preview `ModerationClient`'s protocol methods
- [OpenAI] Update CodeGen to version 3.0.0-beta.20240312.2
- [FEATURE REQ] Add ToString() implementation for PipelineResponse (similar to what is already available in PipelineRequest) HOT 1
- [FEATURE REQ] Add client builder extension methods for MetricsClient
- [QUERY] Must use Azure SignalR management SDK with Azure Functions, but no documentation exists. HOT 7
- [BUG] ResourceBuilder attributes/properties not respected when using UseAzureMonitor() HOT 2
- ClientModel: Decide on an approach to Azure.Core 2.0 integration with ClientModel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.