Skip to content

Otel support #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

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

Otel support #819

wants to merge 10 commits into from

Conversation

ahmedmuhsin
Copy link
Contributor

@ahmedmuhsin ahmedmuhsin commented Apr 22, 2025

This feature adds a new app setting JAVA_ENABLE_OPENTELEMETRY. When set to true,

  • the worker informs the host that it supports otel
  • the worker creates a span that wraps each function's execution

The user is responsible for bringing in the exporter libraries. For example:

        <dependency>
            <groupId>io.opentelemetry</groupId>
            <artifactId>opentelemetry-exporter-logging</artifactId>
            <version>1.49.0</version>
        </dependency>
        <dependency>
            <groupId>io.opentelemetry</groupId>
            <artifactId>opentelemetry-exporter-otlp</artifactId>
            <version>1.49.0</version>
        </dependency>

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
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