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

update config dependency #11611

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Commits on Nov 6, 2024

  1. [service] update config dependency

    This change updates the dependency on go.opentelemetry.io/contrib/config to the latest in main. This
    is because v0.11.0 has a bug that prevents resource attributes to be applied as labels in the
    prometheus exporter. This change contains the following pieces:
    
    1. the update of the dependency
    2. add a layer to prevent breaking end users' configuration of exporter headers
    3. move the meter provider initialization to depend on the config package
    instead of otelinit
    
    Number 3 didn't need to happen in this PR, but doing #2 required a bunch of changes
    that can be avoided by moving to using the meter provider from config instead of otelinit.
    
    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    e487e3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a7a3b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1850fa5 View commit details
    Browse the repository at this point in the history
  4. update factory to pass in context

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    7ae77e6 View commit details
    Browse the repository at this point in the history
  5. remove otelinit

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    6fb8ca0 View commit details
    Browse the repository at this point in the history
  6. update metrics test

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    5e45860 View commit details
    Browse the repository at this point in the history
  7. set meter provider config in SDK initialization

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    e63c5c9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2f9868f View commit details
    Browse the repository at this point in the history
  9. fix attributes test

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    7cfb4f1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2b0c5db View commit details
    Browse the repository at this point in the history
  11. update config dep to latest

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    8c8b0d5 View commit details
    Browse the repository at this point in the history
  12. add changelog

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    66ed148 View commit details
    Browse the repository at this point in the history
  13. ensure metric level none disables metric readers

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    60c7d9d View commit details
    Browse the repository at this point in the history
  14. ensure the sdk is shutdown on error

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    51e2410 View commit details
    Browse the repository at this point in the history
  15. fix service_test

    Signed-off-by: Alex Boten <[email protected]>
    codeboten committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    47f403a View commit details
    Browse the repository at this point in the history