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

[confmap] log a warning when using $VAR in config (WIP) #9547

Merged
merged 28 commits into from
Mar 26, 2024

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    29844f3 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    e4af3c0 View commit details
    Browse the repository at this point in the history
  2. revert bad rebase

    tomasmota committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    7b2906b View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. [chore][Feature Request Template] Comment out header descriptions (op…

    …en-telemetry#9732)
    
    **Description:** <Describe what has changed.>
    <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
    Ex. Adding a feature - Explain what this achieves.-->
    The descriptions for each header in the feature request template for
    this repository are useful to the person filing a request, but serve no
    purpose to the issue reader. These can be commented out to in the
    displayed markdown to save the user from having to delete each one (or
    if not deleted, save the reader from having to parse through extra
    information).
    crobert-1 authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    62a720b View commit details
    Browse the repository at this point in the history
  2. Remove deprecated obsreport/obsreporttest package (open-telemetry#9724)

    All API in the package was deprecated in 0.93.0
    dmitryax authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    a3ca427 View commit details
    Browse the repository at this point in the history
  3. use generated meter (open-telemetry#9669)

    This follows open-telemetry#9556 and uses the Meter func instead of managing the scope
    in the batch processor manually. Replaces open-telemetry#9581
    
    Signed-off-by: Alex Boten <[email protected]>
    codeboten authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    30a629d View commit details
    Browse the repository at this point in the history
  4. Update github-actions deps (open-telemetry#9743)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [Wandalen/wretry.action](https://togithub.com/Wandalen/wretry.action)
    | action | patch | `v1.4.5` -> `v1.4.9` |
    | [actions/cache](https://togithub.com/actions/cache) | action | patch |
    `v4.0.0` -> `v4.0.1` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>Wandalen/wretry.action (Wandalen/wretry.action)</summary>
    
    ###
    [`v1.4.9`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.8...v1.4.9)
    
    [Compare
    Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.8...v1.4.9)
    
    ###
    [`v1.4.8`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.7...v1.4.8)
    
    [Compare
    Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.7...v1.4.8)
    
    ###
    [`v1.4.7`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.6...v1.4.7)
    
    [Compare
    Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.6...v1.4.7)
    
    ###
    [`v1.4.6`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.5...v1.4.6)
    
    [Compare
    Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.5...v1.4.6)
    
    </details>
    
    <details>
    <summary>actions/cache (actions/cache)</summary>
    
    ### [`v4.0.1`](https://togithub.com/actions/cache/releases/tag/v4.0.1)
    
    [Compare
    Source](https://togithub.com/actions/cache/compare/v4.0.0...v4.0.1)
    
    ##### What's Changed
    
    - Update README.md by
    [@&open-telemetry#8203;yacaovsnc](https://togithub.com/yacaovsnc) in
    [https://github.com/actions/cache/pull/1304](https://togithub.com/actions/cache/pull/1304)
    - Update examples by [@&open-telemetry#8203;yacaovsnc](https://togithub.com/yacaovsnc)
    in
    [https://github.com/actions/cache/pull/1305](https://togithub.com/actions/cache/pull/1305)
    - Update actions/cache publish flow by
    [@&open-telemetry#8203;bethanyj28](https://togithub.com/bethanyj28) in
    [https://github.com/actions/cache/pull/1340](https://togithub.com/actions/cache/pull/1340)
    - Update [@&open-telemetry#8203;actions/cache](https://togithub.com/actions/cache) by
    [@&open-telemetry#8203;bethanyj28](https://togithub.com/bethanyj28) in
    [https://github.com/actions/cache/pull/1341](https://togithub.com/actions/cache/pull/1341)
    
    ##### New Contributors
    
    - [@&open-telemetry#8203;yacaovsnc](https://togithub.com/yacaovsnc) made their first
    contribution in
    [https://github.com/actions/cache/pull/1304](https://togithub.com/actions/cache/pull/1304)
    
    **Full Changelog**: actions/cache@v4...v4.0.1
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    👻 **Immortal**: This PR will be recreated if closed unmerged. Get
    [config help](https://togithub.com/renovatebot/renovate/discussions) if
    that's undesired.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    31666b3 View commit details
    Browse the repository at this point in the history
  5. [exporter/otlp] enable lifecycle test (open-telemetry#9735)

    **Description:** 
    enable lifecycle test for otlpexporter
    
    **Link to tracking Issue:** 
    fix open-telemetry#9684
    
    Signed-off-by: Ziqi Zhao <[email protected]>
    fatsheep9146 authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    fbfe4b2 View commit details
    Browse the repository at this point in the history
  6. [chore] group build-tools packages (open-telemetry#9742)

    Signed-off-by: Alex Boten <[email protected]>
    codeboten authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    b0fedad View commit details
    Browse the repository at this point in the history
  7. [confmap] confmap honors Unmarshal methods on config embedded struc…

    …ts. (open-telemetry#9635)
    
    **Description:**
    This implements support for calling `Unmarshal` on embedded structs of
    structs being decoded.
    
    **Link to tracking Issue:**
    Fixes open-telemetry#6671
    
    **Testing:**
    Unit tests.
    
    Contrib fix is open:
    open-telemetry/opentelemetry-collector-contrib#31406
    atoulme authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    59f3fc7 View commit details
    Browse the repository at this point in the history
  8. [exporterhelper] Fix persistent queue size backup on reads (open-tele…

    …metry#9740)
    
    **Description:** 
    
    Persistent queue size backup on reads should depend on readIndex, not
    writeIndex.
    carsonip authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    3e13d81 View commit details
    Browse the repository at this point in the history
  9. Give NoOp create settings a unique name (open-telemetry#9637)

    Long story, but i'm working on updating the prometheus dependency:
    open-telemetry/opentelemetry-collector-contrib#30934
    
    As part of that update, we need to adapt to a change that makes the
    prometheus servers' self-observability metrics independent. See
    prometheus/prometheus#13507 and
    prometheus/prometheus#13610
    
    One way to adapt to this change is by adding a label to each receivers'
    metrics to differentiate one Prometheus receiver from another. I've
    tried taking that approach in
    open-telemetry/opentelemetry-collector-contrib#30934,
    but the current issue is that the NoOp components all have the same
    name, which causes the self-observability metrics to collide.
    
    I can work around this in the prometheus receiver's own tests, but I
    can't work around the issue in the `generated_component_test.go` tests,
    since those are generated.
    
    This PR makes the ID returned by `NewNopCreateSettings` unique by giving
    it a unique name.
    
    **Link to tracking Issue:**
    
    Part of
    open-telemetry/opentelemetry-collector-contrib#30883
    
    cc @Aneurysm9
    
    ---------
    
    Co-authored-by: Alex Boten <[email protected]>
    2 people authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    9cb8f44 View commit details
    Browse the repository at this point in the history
  10. Update github/codeql-action action to v3.24.7 (open-telemetry#9744)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Type | Update | Change |
    |---|---|---|---|
    | [github/codeql-action](https://togithub.com/github/codeql-action) |
    action | patch | `v3.24.6` -> `v3.24.7` |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>github/codeql-action (github/codeql-action)</summary>
    
    ###
    [`v3.24.7`](https://togithub.com/github/codeql-action/compare/v3.24.6...v3.24.7)
    
    [Compare
    Source](https://togithub.com/github/codeql-action/compare/v3.24.6...v3.24.7)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
    time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    acd71fb View commit details
    Browse the repository at this point in the history
  11. [exporter/nopexporter] Add the nopexporter (open-telemetry#9448)

    **Description:**
    
    Add the nopexporter. This can be helpful if a user wants to start the
    Collector with a dummy pipeline to only enable extensions. It could also
    be used to test Collector pipeline throughput.
    
    **Link to tracking Issue:**
    
    Resolves
    open-telemetry#7316
    
    **Testing:**
    
    Added lifecycle tests; the receiver doesn't do anything.
    
    **Documentation:**
    
    Added a readme for the component.
    
    cc @djaglowski @tigrannajaryan
    evan-bradley authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    1fe43cf View commit details
    Browse the repository at this point in the history
  12. [receiver/nopreceiver] Add the nopreceiver (open-telemetry#9446)

    **Description:**
    
    Add the nopreceiver. This can be helpful if a user wants to start the
    Collector with a dummy pipeline to only enable extensions. It could also
    be used to start a dynamically-configured Collector that starts with no
    config and waits to receive its config from a confmap.Provider that
    supports reloads.
    
    **Link to tracking Issue:**
    
    Works toward
    open-telemetry#7316
    
    **Testing:**
    
    Added lifecycle tests; the receiver doesn't do anything.
    
    **Documentation:**
    
    Added a readme for the component.
    evan-bradley authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    1830f83 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5d5f737 View commit details
    Browse the repository at this point in the history
  14. [chore] group golang.org/x packages (open-telemetry#9741)

    Signed-off-by: Alex Boten <[email protected]>
    codeboten authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    8c72ae4 View commit details
    Browse the repository at this point in the history
  15. [chore] Fix an incorrect automatic replace made by a bot in `otel-con…

    …fig.yml` (open-telemetry#9746)
    
    This PR fixes an incorrect automatic replace made in the
    `otel-config.yml` file in this [pull
    request](https://github.com/open-telemetry/opentelemetry-collector/pull/9680/files#diff-c7c8156618a7f8126b25ca1bdfde3e172a0d2cb75c533d63a71617ae2a5c54ae)
    by a bot. I've taken the previous value which seems right.
    
    Co-authored-by: Alex Boten <[email protected]>
    2 people authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    9d2a10c View commit details
    Browse the repository at this point in the history
  16. [chore] Move resource test to service/internal/resource (open-telemet…

    …ry#9730)
    
    **Description:**  This test was out of place!
    
    Co-authored-by: Alex Boten <[email protected]>
    2 people authored and tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    92992c5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    bae5867 View commit details
    Browse the repository at this point in the history
  18. reviewable

    tomasmota committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    8994209 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    63a1bad View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. add warning message tests

    tomasmota committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    b610033 View commit details
    Browse the repository at this point in the history
  2. add QuoteMeta to regexp

    tomasmota committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    5e5b9f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    326ec46 View commit details
    Browse the repository at this point in the history
  4. build

    tomasmota committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    cb677ff View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    37e0dce View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    169069f View commit details
    Browse the repository at this point in the history