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

opentelemetry tracer: add support for environment resource detector #29547

Commits on Sep 11, 2023

  1. Add resource detector extension

    Add the extension interfaces and the environment resource detector.
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    808577f View commit details
    Browse the repository at this point in the history
  2. Use detectors to build the OTel resource

    When the OTel tracer starts, all the configured resource detector extensions are loaded and the resource object is constructed. The resource is then used when building the final OTLP request.
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    8c2fdc4 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    197942d View commit details
    Browse the repository at this point in the history
  2. Refactor to use core.v3.TypedExtensionConfig

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    277d9ce View commit details
    Browse the repository at this point in the history
  3. Refactor to use core.v3.TypedExtensionConfig - fix unit tests

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    995c4b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Manually add res detectors proto package to build file

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    687a0f7 View commit details
    Browse the repository at this point in the history
  2. PR suggestions

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    40c4373 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Reduce scope of try-catch to minimum

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    e3b92cb View commit details
    Browse the repository at this point in the history
  2. Avoid copying the resource to all threads/tracers

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    0febb7c View commit details
    Browse the repository at this point in the history
  3. Fix format issues

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    a340411 View commit details
    Browse the repository at this point in the history
  4. Fix spelling mistakes and add OTEL to dictionary

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    ae8b16a View commit details
    Browse the repository at this point in the history
  5. Fix proto lint issues

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    a8bf06b View commit details
    Browse the repository at this point in the history
  6. Refactor passing resource provider to Driver

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    62365cf View commit details
    Browse the repository at this point in the history
  7. Add docs

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    0183959 View commit details
    Browse the repository at this point in the history
  8. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    3144798 View commit details
    Browse the repository at this point in the history
  9. Fix doc lint

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    7a8ae5a View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    e2de7aa View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    23e7b2b View commit details
    Browse the repository at this point in the history
  2. Fix imports

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    c71695b View commit details
    Browse the repository at this point in the history
  3. Fix pointers

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    ca96947 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. adapt env var parsing

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    96d2bc6 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    1690cdd View commit details
    Browse the repository at this point in the history
  2. Set schema url regardless of resource being empty or not

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    512e692 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. PR suggestions

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    d79e015 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    04e0480 View commit details
    Browse the repository at this point in the history
  3. Add comments to tests

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    bed0ab8 View commit details
    Browse the repository at this point in the history
  4. Fix lint issues

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    a5923fc View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    e1c31c9 View commit details
    Browse the repository at this point in the history
  2. Add changelog

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    5dbb2ea View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    b6171be View commit details
    Browse the repository at this point in the history
  2. Prevent start up when failing to detect resource from the environment

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    d20885e View commit details
    Browse the repository at this point in the history
  3. Remove left over todo

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    8c79eaa View commit details
    Browse the repository at this point in the history
  4. Fix proto docs

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    4dfa9d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Improve test env var cleanup

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    8835647 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    7cdfe98 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    c7b38b5 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Add docs to resource struct

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    a374106 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    4d2fa4a View commit details
    Browse the repository at this point in the history
  3. Fix spelling

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    6efb398 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Merge branch 'main' into feat/otel-resource-detectors-env

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    0020e55 View commit details
    Browse the repository at this point in the history
  2. Use cleanup class to clean up env variables after each test

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    e678e48 View commit details
    Browse the repository at this point in the history
  3. Handle empty env var on windows

    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    dcb52f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f278a46 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main' into feat/otel-resource-…

    …detectors-env
    
    Signed-off-by: Joao Grassi <joao.grassi@dynatrace.com>
    joaopgrassi committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    f43274e View commit details
    Browse the repository at this point in the history