Skip to content

Add OpenTelemetry support for Java Azure Functions #819

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

Merged
merged 19 commits into from
Jun 4, 2025

Conversation

ahmedmuhsin
Copy link
Contributor

@ahmedmuhsin ahmedmuhsin commented Apr 22, 2025

This feature adds a new app settings

  • JAVA_ENABLE_OPENTELEMETRY
  • JAVA_APPLICATIONINSIGHTS_ENABLE_TELEMETRY

When either is set to true, the worker informs the host that it supports otel which prevents the duplication of logs by the host.

Related PR

Azure/azure-functions-java-additions#40

Work Item

https://github.com/Azure/azure-functions-pyfx-planning/issues/708

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Additional PR information

@ahmedmuhsin ahmedmuhsin marked this pull request as ready for review May 2, 2025 22:32
@ahmedmuhsin ahmedmuhsin requested a review from RohitRanjanMS May 6, 2025 17:45
swapnil-nagar
swapnil-nagar previously approved these changes May 9, 2025
gavin-aguiar
gavin-aguiar previously approved these changes May 13, 2025
@ahmedmuhsin ahmedmuhsin dismissed stale reviews from gavin-aguiar and swapnil-nagar via 4c9bff1 May 22, 2025 19:16
@ahmedmuhsin ahmedmuhsin changed the title Otel support Otel Add OpenTelemetry support for Java Azure Functions #40 May 30, 2025
@ahmedmuhsin ahmedmuhsin changed the title Otel Add OpenTelemetry support for Java Azure Functions #40 Add OpenTelemetry support for Java Azure Functions May 30, 2025
@ahmedmuhsin ahmedmuhsin merged commit b0b5640 into Azure:dev Jun 4, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants