Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Azure SDK log forwarder in AzMon OTel distro #42374

Merged
merged 9 commits into from
Mar 6, 2024

Conversation

lmolkova
Copy link
Member

@lmolkova lmolkova commented Mar 4, 2024

Fixes #41373

Adds slightly modified AzureEventSourceLogForwarder to AzMon OTel Distro.
Distro registers and starts log forwarder in case the original one from Microsoft.Azure.Extensions was not added.

Reasons to not take dependency on Microsoft.Azure.Extensions:

  • copy-paste is tiny
  • no additional dependencies (such as Identity coming via Extensions)
  • In future we can optimize EventSource -> OTel format translation without using ILogger, so in the long term distro would need a different forwarder impl anyway.

@github-actions github-actions bot added the Monitor - Distro Monitor OpenTelemetry Distro label Mar 4, 2024
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@lmolkova lmolkova marked this pull request as ready for review March 4, 2024 21:32
Copy link
Contributor

@rajkumar-rangaraj rajkumar-rangaraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TimothyMothra
Copy link
Contributor

Can you please add an entry in the changelog?

@lmolkova lmolkova requested a review from a team as a code owner March 5, 2024 23:42
@lmolkova
Copy link
Member Author

lmolkova commented Mar 6, 2024

@annelo-msft @christothes @JoshLove-msft could you please take a look at the core changes?

@lmolkova lmolkova enabled auto-merge (squash) March 6, 2024 19:18
@lmolkova lmolkova merged commit a4a3108 into Azure:main Mar 6, 2024
57 checks passed
@TimothyMothra
Copy link
Contributor

Can you please add an entry in the changelog?

:(

lmolkova added a commit to lmolkova/docs that referenced this pull request Mar 6, 2024
lmolkova added a commit that referenced this pull request Mar 6, 2024
…#42476)

* Follow-up: update AzMonDistro readme what's included - logs

* Update sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/README.md

Co-authored-by: Timothy Mothra <tilee@microsoft.com>

---------

Co-authored-by: Timothy Mothra <tilee@microsoft.com>
angiurgiu pushed a commit that referenced this pull request Mar 20, 2024
* Start Azure SDK log forwarder in AzMon OTel distro
angiurgiu pushed a commit that referenced this pull request Mar 20, 2024
…#42476)

* Follow-up: update AzMonDistro readme what's included - logs

* Update sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/README.md

Co-authored-by: Timothy Mothra <tilee@microsoft.com>

---------

Co-authored-by: Timothy Mothra <tilee@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Monitor - Distro Monitor OpenTelemetry Distro
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQ] Enable AzureSdkLogForwarder in Azure Monitor OTel distro
8 participants