Comments (5)
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.
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.
Okay, after doing a bit of research I guess I was a bit confused due to design.
Microsoft.Extensions.Logging.ApplicationInsights
includes logger scopes by default, while Azure.Monitor.OpenTelemetry.AspNetCore
does not.
My questions is then: Is this intentional?
If yes, I would suggest just some documentation about this behavior as a lot of developers will be migrating and a hint about it would greatly help.
from azure-sdk-for-net.
Scopes are not enabled by default in OpenTelemetry, so it is expected that one must enable them explicitly to get scopes flowing to any exporter, including AzureMonitor. However, https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/src/OpenTelemetryBuilderExtensions.cs#L132 is surprising.. Not sure why the distro explicitly have to disable it..
from azure-sdk-for-net.
This is by design. This is an opt-in feature and you're using the correct setting to enable:
builder.Services.Configure<OpenTelemetryLoggerOptions>(options =>
{
options.IncludeScopes = true;
});
Thanks for your feedback. This behavior is different from Application Insights SDK and we'll update our public documentation.
from azure-sdk-for-net.
Related Issues (20)
- Exception Information Missing HOT 1
- [QUERY] Is there a way to specify the api version in SAS Token? HOT 1
- [FEATURE REQ]Add List and Put functions in EncryptionScopeResource HOT 1
- [QUERY] How to mock SubscriptionCollection resources. HOT 2
- [QUERY] Why is ShareAccessTier Premium missing from the .NET SDK HOT 2
- [QUERY] How to add new access policy to key vault without deleting all existing access policies? HOT 2
- [BUG]: Upgrade Azure.Identity Microsoft.Identity.Client to latest version to resolve security vulnerability HOT 2
- [QUERY] Azure.Identity 1.11.4: how to use WebView2 control? HOT 22
- [QUERY] What is happening with EventGridClient class? HOT 3
- How can we Enable/Disable APIs and Operations in Azure API Management Using .NET SDK and or in Portal HOT 4
- [BUG] Azure Service Bus Timeout instead of correct response: MessagingEntityNotFound HOT 8
- [AppConfig] Update Live Tests for Filter By Tags Feature
- [BUG] Azure.Search.Documents performs vector search successfully, but results are "null" HOT 1
- [QUERY] OpenAI Assistants V2 on Azure - Activate File search on assistant + specify file_ids in message's attachments HOT 4
- infinite lease via break? HOT 2
- [FEATURE REQ] Open Telemetry Sample Request HOT 3
- [BUG] API consistency issue, ManagedIdentityCredential() does not read default values from environment variables, like other Credentials. HOT 1
- [BUG] [OpenAI] ClientResultException 400 Bad Request calling `AzureChatClient.CompleteChatAsync` with PineconeChatDataSource HOT 2
- [FEATURE REQ] Support IsStored for any string field in Azure AI Search HOT 2
- [BUG]Failed to download PEM certificate from azure.keyvault with failure "The provided key does not match the public key for this certificate" HOT 1
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.