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

add ability to easily exclude health checks in spring starter #10527

Closed
zeitlinger opened this issue Feb 13, 2024 · 2 comments
Closed

add ability to easily exclude health checks in spring starter #10527

zeitlinger opened this issue Feb 13, 2024 · 2 comments
Assignees
Labels

Comments

@zeitlinger
Copy link
Member

zeitlinger commented Feb 13, 2024

See https://cloud-native.slack.com/archives/C014L2KCTE3/p1707812808682639?thread_ts=1707739322.848999&cid=C014L2KCTE3

Proposal for application.yaml:

otel:
  traces:
    sampler:
      experimental:
        routing:
          server:
            - attribute: http.route
              pattern: /actuator/
              sampler: always_off
            - attribute: http.route
              pattern: /get/cart
              sampler:
                name: traceidratio
                arg: 0.5
@zeitlinger zeitlinger converted this from a draft issue Feb 13, 2024
@zeitlinger zeitlinger self-assigned this Feb 27, 2024
@zeitlinger
Copy link
Member Author

@trask pointed out that open-telemetry/oteps#240 is defining this schema.

in the meantime, we should probably just document how spring users can configure this programatically.

@zeitlinger
Copy link
Member Author

The documentation is part of open-telemetry/opentelemetry.io#4167.

Closing this issue, because I assume that the new file based config will later also be available for spring boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant