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

Fix pr #1

Closed
wants to merge 3,406 commits into from
Closed

Fix pr #1

wants to merge 3,406 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 3, 2023

  1. [chore][pkg/stanza] Move truncated file detection into reader (open-t…

    …elemetry#27418)
    
    This reworks a recent addition (See open-telemetry#27064) to how we handle rotated
    files.
    
    The solution depends upon re-reading a file's fingerprint. This is
    unchanged, but most of the implementation is now localized to the reader
    struct.
    djaglowski authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    49d4504 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e94a0f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. [chore][pkg/stanza] Move reader and reader factory into internal pack…

    …age (open-telemetry#27416)
    
    Follows open-telemetry#27396 
    
    This PR creates an internal `reader` package and moves directly related
    structs into it.
    
    I intend to clean up this codebase substantially from here. This is just
    a first step that creates a crude boundary between concerns. There are
    many exported fields which can later be abstracted, but currently the
    codebase has many direct interactions. Tests remain in the
    `fileconsumer` package for now but will be migrated once there are
    cleaner interfaces to test.
    djaglowski authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    5dba9aa View commit details
    Browse the repository at this point in the history
  2. Bump actions/checkout from 3 to 4 (open-telemetry#27370)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to
    4.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/actions/checkout/releases">actions/checkout's
    releases</a>.</em></p>
    <blockquote>
    <h2>v4.0.0</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Update default runtime to node20 by <a
    href="https://github.com/takost"><code>@​takost</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1436">actions/checkout#1436</a></li>
    <li>Support fetching without the --progress option by <a
    href="https://github.com/simonbaird"><code>@​simonbaird</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1067">actions/checkout#1067</a></li>
    <li>Release 4.0.0 by <a
    href="https://github.com/takost"><code>@​takost</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1447">actions/checkout#1447</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a href="https://github.com/takost"><code>@​takost</code></a> made
    their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/1436">actions/checkout#1436</a></li>
    <li><a
    href="https://github.com/simonbaird"><code>@​simonbaird</code></a> made
    their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/1067">actions/checkout#1067</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/checkout/compare/v3...v4.0.0">https://github.com/actions/checkout/compare/v3...v4.0.0</a></p>
    <h2>v3.6.0</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Mark test scripts with Bash'isms to be run via Bash by <a
    href="https://github.com/dscho"><code>@​dscho</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1377">actions/checkout#1377</a></li>
    <li>Add option to fetch tags even if fetch-depth &gt; 0 by <a
    href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a>
    in <a
    href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li>
    <li>Release 3.6.0 by <a
    href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a>
    in <a
    href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a
    href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a>
    made their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li>
    <li><a
    href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a>
    made their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/checkout/compare/v3.5.3...v3.6.0">https://github.com/actions/checkout/compare/v3.5.3...v3.6.0</a></p>
    <h2>v3.5.3</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Fix: Checkout Issue in self hosted runner due to faulty submodule
    check-ins by <a
    href="https://github.com/megamanics"><code>@​megamanics</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1196">actions/checkout#1196</a></li>
    <li>Fix typos found by codespell by <a
    href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
    in <a
    href="https://redirect.github.com/actions/checkout/pull/1287">actions/checkout#1287</a></li>
    <li>Add support for sparse checkouts by <a
    href="https://github.com/dscho"><code>@​dscho</code></a> and <a
    href="https://github.com/dfdez"><code>@​dfdez</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1369">actions/checkout#1369</a></li>
    <li>Release v3.5.3 by <a
    href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
    in <a
    href="https://redirect.github.com/actions/checkout/pull/1376">actions/checkout#1376</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a
    href="https://github.com/megamanics"><code>@​megamanics</code></a> made
    their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/1196">actions/checkout#1196</a></li>
    <li><a
    href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
    made their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/1287">actions/checkout#1287</a></li>
    <li><a href="https://github.com/dfdez"><code>@​dfdez</code></a> made
    their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/1369">actions/checkout#1369</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/checkout/compare/v3...v3.5.3">https://github.com/actions/checkout/compare/v3...v3.5.3</a></p>
    <h2>v3.5.2</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Fix: Use correct API url / endpoint in GHES by <a
    href="https://github.com/fhammerl"><code>@​fhammerl</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1289">actions/checkout#1289</a>
    based on <a
    href="https://redirect.github.com/actions/checkout/issues/1286">#1286</a>
    by <a href="https://github.com/1newsr"><code>@​1newsr</code></a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/checkout/compare/v3.5.1...v3.5.2">https://github.com/actions/checkout/compare/v3.5.1...v3.5.2</a></p>
    <h2>v3.5.1</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Improve checkout performance on Windows runners by upgrading
    <code>@​actions/github</code> dependency by <a
    href="https://github.com/BrettDong"><code>@​BrettDong</code></a> in <a
    href="https://redirect.github.com/actions/checkout/pull/1246">actions/checkout#1246</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a href="https://github.com/BrettDong"><code>@​BrettDong</code></a>
    made their first contribution in <a
    href="https://redirect.github.com/actions/checkout/pull/1246">actions/checkout#1246</a></li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
    changelog</a>.</em></p>
    <blockquote>
    <h1>Changelog</h1>
    <h2>v4.1.0</h2>
    <ul>
    <li><a href="https://redirect.github.com/actions/checkout/pull/1396">Add
    support for partial checkout filters</a></li>
    </ul>
    <h2>v4.0.0</h2>
    <ul>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1067">Support
    fetching without the --progress option</a></li>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1436">Update to
    node20</a></li>
    </ul>
    <h2>v3.6.0</h2>
    <ul>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1377">Fix: Mark
    test scripts with Bash'isms to be run via Bash</a></li>
    <li><a href="https://redirect.github.com/actions/checkout/pull/579">Add
    option to fetch tags even if fetch-depth &gt; 0</a></li>
    </ul>
    <h2>v3.5.3</h2>
    <ul>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1196">Fix:
    Checkout fail in self-hosted runners when faulty submodule are
    checked-in</a></li>
    <li><a href="https://redirect.github.com/actions/checkout/pull/1287">Fix
    typos found by codespell</a></li>
    <li><a href="https://redirect.github.com/actions/checkout/pull/1369">Add
    support for sparse checkouts</a></li>
    </ul>
    <h2>v3.5.2</h2>
    <ul>
    <li><a href="https://redirect.github.com/actions/checkout/pull/1289">Fix
    api endpoint for GHES</a></li>
    </ul>
    <h2>v3.5.1</h2>
    <ul>
    <li><a href="https://redirect.github.com/actions/checkout/pull/1246">Fix
    slow checkout on Windows</a></li>
    </ul>
    <h2>v3.5.0</h2>
    <ul>
    <li><a href="https://redirect.github.com/actions/checkout/pull/1237">Add
    new public key for known_hosts</a></li>
    </ul>
    <h2>v3.4.0</h2>
    <ul>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1209">Upgrade
    codeql actions to v2</a></li>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1210">Upgrade
    dependencies</a></li>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1225">Upgrade
    <code>@​actions/io</code></a></li>
    </ul>
    <h2>v3.3.0</h2>
    <ul>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1045">Implement
    branch list using callbacks from exec function</a></li>
    <li><a href="https://redirect.github.com/actions/checkout/pull/1050">Add
    in explicit reference to private checkout options</a></li>
    <li>[Fix comment typos (that got added in <a
    href="https://redirect.github.com/actions/checkout/issues/770">#770</a>)](<a
    href="https://redirect.github.com/actions/checkout/pull/1057">actions/checkout#1057</a>)</li>
    </ul>
    <h2>v3.2.0</h2>
    <ul>
    <li><a href="https://redirect.github.com/actions/checkout/pull/942">Add
    GitHub Action to perform release</a></li>
    <li><a href="https://redirect.github.com/actions/checkout/pull/967">Fix
    status badge</a></li>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1002">Replace
    datadog/squid with ubuntu/squid Docker image</a></li>
    <li><a href="https://redirect.github.com/actions/checkout/pull/964">Wrap
    pipeline commands for submoduleForeach in quotes</a></li>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1029">Update
    <code>@​actions/io</code> to 1.1.2</a></li>
    <li><a
    href="https://redirect.github.com/actions/checkout/pull/1039">Upgrading
    version to 3.2.0</a></li>
    </ul>
    <h2>v3.1.0</h2>
    <ul>
    <li><a href="https://redirect.github.com/actions/checkout/pull/939">Use
    <code>@​actions/core</code> <code>saveState</code> and
    <code>getState</code></a></li>
    <li><a href="https://redirect.github.com/actions/checkout/pull/922">Add
    <code>github-server-url</code> input</a></li>
    </ul>
    <h2>v3.0.2</h2>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/actions/checkout/commit/8ade135a41bc03ea155e62e844d188df1ea18608"><code>8ade135</code></a>
    Prepare 4.1.0 release (<a
    href="https://redirect.github.com/actions/checkout/issues/1496">#1496</a>)</li>
    <li><a
    href="https://github.com/actions/checkout/commit/c533a0a4cfc4962971818edcfac47a2899e69799"><code>c533a0a</code></a>
    Add support for partial checkout filters (<a
    href="https://redirect.github.com/actions/checkout/issues/1396">#1396</a>)</li>
    <li><a
    href="https://github.com/actions/checkout/commit/72f2cec99f417b1a1c5e2e88945068983b7965f9"><code>72f2cec</code></a>
    Update README.md for V4 (<a
    href="https://redirect.github.com/actions/checkout/issues/1452">#1452</a>)</li>
    <li><a
    href="https://github.com/actions/checkout/commit/3df4ab11eba7bda6032a0b82a6bb43b11571feac"><code>3df4ab1</code></a>
    Release 4.0.0 (<a
    href="https://redirect.github.com/actions/checkout/issues/1447">#1447</a>)</li>
    <li><a
    href="https://github.com/actions/checkout/commit/8b5e8b768746b50394015010d25e690bfab9dfbc"><code>8b5e8b7</code></a>
    Support fetching without the --progress option (<a
    href="https://redirect.github.com/actions/checkout/issues/1067">#1067</a>)</li>
    <li><a
    href="https://github.com/actions/checkout/commit/97a652b80035363df47baee5031ec8670b8878ac"><code>97a652b</code></a>
    Update default runtime to node20 (<a
    href="https://redirect.github.com/actions/checkout/issues/1436">#1436</a>)</li>
    <li>See full diff in <a
    href="https://github.com/actions/checkout/compare/v3...v4">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    eca1a29 View commit details
    Browse the repository at this point in the history
  3. [chore] change completely how dependabot generates entries (open-tele…

    …metry#27269)
    
    **Description:**
    Change entirely how dependabot update entries are generated, by using
    the metadata.yaml status to find which components are most important in
    the distribution.
    
    The code now takes into account the distributions and the stability of
    the component as a score to decide whether to push the component. Go
    modules that don't have an associated metadata.yaml are not considered
    and therefore not present in the module updates path.
    
    **Link to tracking Issue:**
    
    open-telemetry#19410
    atoulme authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    0db927b View commit details
    Browse the repository at this point in the history
  4. [receiver/filestats] move filestatsreceiver to beta stability (open-t…

    …elemetry#27253)
    
    **Description:**
    Move the filestats receiver to beta stability
    
    **Link to tracking Issue:**
    Fixes open-telemetry#27252
    atoulme authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    8f921e0 View commit details
    Browse the repository at this point in the history
  5. [processor/spanmetrics] Prune histograms (open-telemetry#27083)

    Prune histograms when the dimension cache evictions are removed
    
    **Description:**
    Prunes histograms when the dimension cache is pruned. This prevents
    metric series from growing indefinitely
    
    **Link to tracking Issue:**
     open-telemetry#27080
    
    **Testing:**
    I modified the the existing test to check `histograms` length instead of
    dimensions cache length. This required simulating ticks to hit the
    exportMetrics function
    
    **Documentation:** <Describe the documentation added.>
    
    Co-authored-by: Sean Marciniak <[email protected]>
    nijave and MovieStoreGuy authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    6aac9bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0e2b6f9 View commit details
    Browse the repository at this point in the history
  7. [chore][extension/filestorage] Fix flaky test on windows (open-teleme…

    …try#27421)
    
    This test failed on windows
    ([here](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/6400499092/job/17374210350#step:6:659)),
    apparently because the storage file is still open when the test
    framework attempts to clean up the directory.
    djaglowski authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    fef6211 View commit details
    Browse the repository at this point in the history
  8. [chore][pkg/stanza] Clean up flush function (open-telemetry#27412)

    This PR simplifies the flush function. The behavior should be the same
    but the representation is simpler.
    djaglowski authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    a690ff9 View commit details
    Browse the repository at this point in the history
  9. [chore] move load tests execution to dedicated hardware (open-telemet…

    …ry#27422)
    
    This will allow the load tests to produce consistent results. Note that
    I removed the execution on every pull request as part of this change.
    This is because the load tests running on every build would be too much
    for the dedicated hardware to handle.
    
    I'm not sure if we're getting much benefit from those tests running on
    every build at this time, though we could always change this to only run
    on main/tagged releases on hardware and otherwise on regular github
    runners.
    
    Waiting on open-telemetry/community#1708
    before marking as ready for review
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    47cacb9 View commit details
    Browse the repository at this point in the history
  10. [exporter/pulsar] do not expose method (open-telemetry#27287)

    **Description:** 
    Do not export function WithTracesMarshalers, add test for that and pass
    checkapi
    
    **Link to tracking Issue:** 
    
    open-telemetry#26304
    
    **Testing:** 
    make chlog-validate
    go run cmd/checkapi/main.go .
    go test for pulsarexporter
    
    **Documentation:**
    sakulali authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    ed786a4 View commit details
    Browse the repository at this point in the history
  11. [receiver/pulsar] do not expose method (open-telemetry#27029)

    **Description:** 
    Do not export functions `WithLogsUnmarshalers`,
    `WithMetricsUnmarshalers`, `WithTracesUnmarshalers`, add tests for that
    and pass checkapi
    
    **Link to tracking Issue:**
    
    open-telemetry#26304
    
    **Testing:** 
    go run cmd/checkapi/main.go .
    make chlog-validate
    go test for pulsarreceiver
    
    **Documentation:**
    sakulali authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    64ae47c View commit details
    Browse the repository at this point in the history
  12. [exporter/kafkaexporter] add zipkin encoding for traces (open-telemet…

    …ry#23947)
    
    **Description:** <Describe what has changed.>
    Adding Zipkin v2 encoding support for traces in kafkaexporter 
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    open-telemetry#21102
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Test for `tracesMarshalers` has been extended with zipkin JSON test
    case.
    yaroliakh authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    732d259 View commit details
    Browse the repository at this point in the history
  13. [processor/probabilisticsampler] Allow non-bytes attributes (open-tel…

    …emetry#26564)
    
    When doing a probabilistic sampling for logs, the probabilistic sampler
    currently requires the source attribute to be of bytes value. This PR
    changes that to allow any value type to be used.
    
    Fixes open-telemetry#18222
    
    Signed-off-by: Juraci Paixão Kröhling <[email protected]>
    
    ---------
    
    Signed-off-by: Juraci Paixão Kröhling <[email protected]>
    jpkrohling authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    7b9a79b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2aaf0c3 View commit details
    Browse the repository at this point in the history
  15. fix(stanza/converter): handle syslogrecevier attributes correctly (op…

    …en-telemetry#27415)
    
    **Description:**
    
    Syslog receiver produces attribute (`structured_data`) which is a
    stringified map. This PR fixes it. See Issue for more details
    
    **Link to tracking Issue:**
    open-telemetry#27414
    
    **Testing:**
    
    UT
    
    **Documentation:**
    
    In code comments
    
    ---------
    
    Signed-off-by: Dominik Rosiek <[email protected]>
    sumo-drosiek authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    4eca940 View commit details
    Browse the repository at this point in the history
  16. [chore] error wasn't checked in loadtest (open-telemetry#27430)

    An error appears to be the load tests to fail, but it's not being
    checked which makes it hard to debug. Helps with open-telemetry#27429
    
    Signed-off-by: Alex Boten <[email protected]>
    Co-authored-by: Bogdan Drutu <[email protected]>
    Alex Boten and bogdandrutu authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    a345161 View commit details
    Browse the repository at this point in the history
  17. [chore][pkg/stanza] Unexporter reader's logger (open-telemetry#27431)

    Incremental step towards decoupling the `Reader` struct.
    djaglowski authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    d95256a View commit details
    Browse the repository at this point in the history
  18. [chore] tweak cpu limit (open-telemetry#27433)

    The TestTraceNoBackend10kSPS/MemoryLimit seems to hit about 75% on runs
    on the dedicated host
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    de4b2b6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f0c2cf4 View commit details
    Browse the repository at this point in the history
  20. [chore][pkg/stanza] Unexport reader's eof flag (open-telemetry#27432)

    Incremental step towards decoupling the Reader struct.
    djaglowski authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    90b801d View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Add an example of how the host tag syntax looks (open-telemetry#27423)

    It is not clear from the example how the tags should be written down.
    
    **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.-->
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    
    ---------
    
    Co-authored-by: Yang Song <[email protected]>
    Co-authored-by: Mackenzie <[email protected]>
    3 people authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    435cbbe View commit details
    Browse the repository at this point in the history
  2. [chore] Update collector core dependencies (open-telemetry#27437)

    Had to update a Prometheus exporter test `TestCollectMetrics` to adapt
    to the metric description String() output change made the recent Prom
    library version prometheus/client_golang#1296.
    
    Fixes
    open-telemetry#27398
    dmitryax authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    77036b1 View commit details
    Browse the repository at this point in the history
  3. [exporter/syslog]: fix default behaviour (disable tls and use proper …

    …defaults) (open-telemetry#27424)
    
    **Description:**
    
    - fix defaults
    - fix some typos
    - correctly handle data structures which are output of syslog receiver
    - allow to not use tls and disable it by default
    
    **Link to tracking Issue:** open-telemetry#25114 
    
    **Testing:** 
    Unit tests
    
    **Documentation:** 
    N/A
    
    ---------
    
    Signed-off-by: Dominik Rosiek <[email protected]>
    sumo-drosiek authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    14375a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09b6221 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f3851d8 View commit details
    Browse the repository at this point in the history
  6. [chore] set GOMAXPROCS for collector subprocess (open-telemetry#27449)

    This will result in more consistent benchmarks across different
    environments.
    
    Fixes open-telemetry#27429
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    dd8e010 View commit details
    Browse the repository at this point in the history
  7. [DOC] Fixes collector config of PRW example (open-telemetry#27440)

    Fixes a bug in the PRW example YAML, the `target_info` indentation.
    
    This is a docs update.
    
    Don't we all love YAML? ;)
    mhausenblas authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    21ee863 View commit details
    Browse the repository at this point in the history
  8. [chore] sqlserverreceiver/Add run as admin to docs (open-telemetry#27452

    )
    
    **Description:** 
    Added a line explaining to run collector as admin, since not all perf
    counters are collected unless you do.
    (Or I'm missing something, which should be documented)
    
    **Testing:** No unit tests, but observed this with a simple collector
    install on windows.
    
    **Documentation:** See above.
    kuiperda authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    37233ae View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. [cmd/telemetrygen] Better defaults for HTTP exporter mode (open-telem…

    …etry#27007)
    
    **Description:**
    
    - Refactored and moved `otlp-http-url-path` flag from the common flags
    for each command
        - Added flag to the `traces` command with the default `/v1/traces`
        - Added flag to the `metrics` command with the default `/v1/metrics`
        - Flag was not used for the `logs` command so no longer exposed
    - Handle changing the default endpoint based on the communication mode
    (gRPC or HTTP)
    - Flag `--otlp-endpoint` now defaults to empty string and targets a new
    attribute `CustomEndpoint` on `common.Config`
    - Added the `Endpoint()` getter function to the `common.Config` struct
    for retrieving the correct endpoint
    - When `CustomEndpoint` is empty then either `DefaultGRPCEndpoint` or
    `DefaultHTTPEndpoint` are chosen based upon the value of
    `config.UseHTTP`
    - **Misc**: Split out the creation of trace/metric exporters into
    standalone factory functions with docstrings available in `exporters.go`
    in both modules
    - **Misc**: Removed the "default value is" from the descriptions of some
    flags as it was repeated information
    
    **Link to tracking Issue:** open-telemetry#26999
    
    **Testing:** 
    
    Added new set of unit tests to cover the addition of the
    `config.Endpoint()` getter.
    
    Running `telemetrygen traces --otlp-http --otlp-insecure` now correctly
    sends traces using HTTP to the default HTTP endpoint.
    
    **Documentation:** 
    
    No documentation added/changed but updated some command flag
    descriptions.
    
    ---------
    
    Co-authored-by: Alex Boten <[email protected]>
    jmsnll and Alex Boten authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    3f5d64c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce7593e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4796666 View commit details
    Browse the repository at this point in the history
  4. [receiver/kubeletstats] Support specifying context for kubeConfig `…

    …auth_type` (open-telemetry#26665) (open-telemetry#27240)
    
    **Description:**
    Support specifying context for `kubeConfig` `auth_type` when
    communicating with a Kubernetes cluster.
    
    **Link to tracking Issue:** 26665
    
    **Testing:** unit test added
    
    **Documentation:** kubeletstatsreceiver README updated
    
    Signed-off-by: JACQUES Francois <[email protected]>
    hypnoce authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    484704b View commit details
    Browse the repository at this point in the history
  5. Switch from detecting faas.id to faas.instance in the gcp detector. (o…

    …pen-telemetry#26486)
    
    Context:
    GoogleCloudPlatform/opentelemetry-operations-go#679
    
    faas.id was removed from the semantic conventions:
    open-telemetry/opentelemetry-specification#3188
    
    We were previously using it improperly to store the instance id of the
    faas, which should be mapped to faas.instance instead.
    
    ---------
    
    Co-authored-by: Alex Boten <[email protected]>
    dashpole and Alex Boten authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    f9a1a52 View commit details
    Browse the repository at this point in the history
  6. [receiver/kubeletstats] Add new CPU utilization metrics (open-telemet…

    …ry#27276)
    
    **Description:** 
    Adds new CPU utilization metrics with respect to pod/container CPU
    limits and requests
    
    **Link to tracking Issue:** <Issue number if applicable>
    Closes
    open-telemetry#24905
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Added new unit tests and tested locally
    TylerHelmuth authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    a33e63a View commit details
    Browse the repository at this point in the history
  7. [chore][pkg/stanza] Move file deletion responsibility into reader (op…

    …en-telemetry#27455)
    
    This reduces the complexity of interacting with readers by letting them
    delete their own file if configured to do so.
    djaglowski authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    d25ec56 View commit details
    Browse the repository at this point in the history
  8. Update Kafka receiver and exporter TLS docs (open-telemetry#27291)

    `ca_file`, `cert_file` and `key_file` should only be used if `insecure`
    is set to `false`, otherwise client TLS is disabled:
    https://github.com/open-telemetry/opentelemetry-collector/blob/7c5ecef11dff4ce5501c9683b277a25a61ea0f1a/config/configtls/README.md
    
    Signed-off-by: Andreas Gerstmayr <[email protected]>
    andreasgerstmayr authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    97cde11 View commit details
    Browse the repository at this point in the history
  9. [chore] update core (open-telemetry#27467)

    Ensures the removed deprecated struct members were not used.
    
    ---------
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    14e2537 View commit details
    Browse the repository at this point in the history
  10. [mongodbreceiver] Fix get mongodb version (open-telemetry#27442)

    **Description:** <Describe what has changed.>
    - Improve the unit-test to catch similar errors in the future. 
    - Fix mongodb version collection. 
    
    **Link to tracking Issue:** <Issue number if applicable>
    open-telemetry#27441 
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Added the expectation assert for the Mock. 
    This is the log output from running the tests in the first catching the
    bug
    ```
    --- FAIL: TestScraperScrape (0.00s)
        --- FAIL: TestScraperScrape/Failed_to_fetch_database_names (0.00s)
            pathTo/opentelemetry-collector-contrib/receiver/mongodbreceiver/scraper_test.go:316: FAIL:	GetVersion(string)
                		at: [pathTo/opentelemetry-collector-contrib/receiver/mongodbreceiver/scraper_test.go:146 pathTo/opentelemetry-collector-contrib/receiver/mongodbreceiver/scraper_test.go:292]
            pathTo/opentelemetry-collector-contrib/receiver/mongodbreceiver/scraper_test.go:316: PASS:	ListDatabaseNames(string,string,string)
            pathTo/opentelemetry-collector-contrib/receiver/mongodbreceiver/scraper_test.go:316: FAIL: 1 out of 2 expectation(s) were met.
                	The code you are testing needs to make 1 more call(s).
                	at: [pathTo/opentelemetry-collector-contrib/receiver/mongodbreceiver/scraper_test.go:316]
    ```
    **Documentation:** <Describe the documentation added.>
    gsanchezgavier authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    dcca7d3 View commit details
    Browse the repository at this point in the history
  11. [processor/metricstransformprocessor] fix copy exponential histogram (o…

    …pen-telemetry#27410)
    
    Fixes a bug where the wrong function was called for the exponential
    histogram type during the copy operation.
    
    Fixes open-telemetry#27409
    
    Added a test for `combine` that covers the failing code path.
    mfranklin authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    fa88837 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. [chore] [docs] Update encoding extensions readme doc (open-telemetry#…

    …27478)
    
    According to the recent design changes
    dmitryax authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    04d5787 View commit details
    Browse the repository at this point in the history
  2. [exporter/kafka] move kafka configures authentication to internal pkg (

    …open-telemetry#27289)
    
    **Description:** 
    Move kafka configures authentication to internal pkg, make references
    become clearer. Additionally, avoid to use export function
    `kafkaexporter.ConfigureAuthentication` to pass checkapi.
    
    **Link to tracking Issue:** 
    
    open-telemetry#27093
    sakulali authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    96d53a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c25279d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9387a2c View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. [mdatagen] allow adding resource_attribute warnings (open-telemetry#2…

    …7257)
    
    **Description:**  allow adding resource_attribute warnings
    
    **Link to tracking Issue:**
    open-telemetry#19174
    
    **Testing:**
    - Generated unit tests
    - Tested manually with some changes to k8sclusterreceiver:
    
    ```
      k8s.kubelet.version:
        description: The version of Kubelet running on the node.
        type: string
        enabled: false
        warnings:
          if_configured: This resource_attribute is deprecated and will be removed soon.
    
      opencensus.resourcetype:
        description: The OpenCensus resource type.
        type: string
        enabled: true
        warnings:
          if_enabled: This resource_attribute is deprecated and will be removed soon.
    ```
    
    Gives the following output:
    ```
    {"level":"warn","ts":1695985300.0413303,"caller":"metadata/generated_metrics.go:2201","msg":"[WARNING] `k8s.kubelet.version` should not be configured: This resource_attribute is deprecated and will be removed soon.","kind":"receiver","name":"k8s_cluster","data_type":"metrics"}     
    {"level":"warn","ts":1695985300.041354,"caller":"metadata/generated_metrics.go:2207","msg":"[WARNING] `opencensus.resourcetype` should not be enabled: This resource_attribute is deprecated and will be removed soon.","kind":"receiver","name":"k8s_cluster","data_type":"metrics"}
     ```
    povilasv authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    91643ba View commit details
    Browse the repository at this point in the history
  2. [k8sclusterreceiver] refactor state metrics to use empty units (open-…

    …telemetry#27091)
    
    **Description:** 
    
    Change k8s.container.ready, k8s.pod.phase, k8s.pod.status_reason,
    k8s.namespace.phase units to empty
    
    **Link to tracking Issue:** open-telemetry#10553
    povilasv authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    bed78f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0efc53a View commit details
    Browse the repository at this point in the history
  4. [receiver/splunkhec] Metrics dropped when logs used (open-telemetry#2…

    …7474)
    
    **Description:**
    Fix metrics dropped when logs and metrics used at the same time
    
    **Link to tracking Issue:**
    Fixes open-telemetry#27473 
    
    **Testing:**
    Unit tests.
    atoulme authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    98bd0fc View commit details
    Browse the repository at this point in the history
  5. [chore] [pdatatest] fix plogtest/CompareLogRecords input arg order (o…

    …pen-telemetry#27575)
    
    Pass the correct `expected, actual` variables to CompareLogRecord fn in
    plogtest.
    jinja2 authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    f4ce022 View commit details
    Browse the repository at this point in the history
  6. [k8sclusterreceiver] change k8s.node.condition* metrics unit to empty (

    …open-telemetry#27586)
    
    Change k8s.node.condition_* metrics units to be empty.
    povilasv authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    14055f5 View commit details
    Browse the repository at this point in the history
  7. [k8sclusterreceiver] Disable and deprecate opencensus.resourcetype at…

    …tribute (open-telemetry#27584)
    
    Manually tested, built and image and manually enabled and disabled this
    resource attribute.
    
    This is the warning we publish:
    
    >
    {"level":"warn","ts":1696935210.905353,"caller":"metadata/generated_metrics.go:2201","msg":"[WARNING]
    `opencensus.resourcetype` should not be configured: This
    resource_attribute is deprecated and will be removed
    soon.","kind":"receiver","name":"k8s_cluster","data_type":"metrics"}
    povilasv authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    62cc44c View commit details
    Browse the repository at this point in the history
  8. [chore] dependabot updates Tue Oct 10 16:04:17 UTC 2023 (open-telemet…

    …ry#27591)
    
    Bump cloud.google.com/go/spanner from 1.49.0 to 1.50.0 in
    /receiver/googlecloudspannerreceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.14.1 to 2.14.2 in
    /exporter/clickhouseexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /processor/resourcedetectionprocessor
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector
    from 0.43.1 to 0.44.0 in /exporter/googlecloudexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector
    from 0.43.1 to 0.44.0 in /exporter/googlemanagedprometheusexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector/googlemanagedprometheus
    from 0.43.1 to 0.44.0 in /exporter/googlemanagedprometheusexporter
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /receiver/awsecscontainermetricsreceiver
    Bump github.com/aws/aws-sdk-go from 1.45.20 to 1.45.24 in
    /receiver/awsxrayreceiver
    Bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2 from 1.21.0 to 1.21.1 in
    /extension/sigv4authextension
    Bump github.com/aws/aws-sdk-go-v2/config from 1.18.43 to 1.18.44 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/config from 1.18.43 to 1.18.44 in
    /extension/sigv4authextension
    Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.41 to 1.13.42 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.41 to 1.13.42 in
    /extension/sigv4authextension
    Bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.19.0 to 1.19.1
    in /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.23.0 to 1.23.1 in
    /extension/sigv4authextension
    Bump github.com/getsentry/sentry-go from 0.24.1 to 0.25.0 in
    /exporter/sentryexporter
    Bump github.com/prometheus/prometheus from 0.47.0 to 0.47.1 in
    /exporter/prometheusexporter
    Bump github.com/prometheus/prometheus from 0.47.0 to 0.47.1 in
    /exporter/prometheusremotewriteexporter
    Bump github.com/prometheus/prometheus from 0.47.0 to 0.47.1 in
    /pkg/translator/prometheusremotewrite
    Bump github.com/prometheus/prometheus from 0.47.0 to 0.47.1 in
    /receiver/prometheusreceiver
    Bump github.com/prometheus/prometheus from 0.47.0 to 0.47.1 in
    /receiver/simpleprometheusreceiver
    Bump github.com/prometheus/prometheus from 0.47.0 to 0.47.1 in /testbed
    Bump github.com/sijms/go-ora/v2 from 2.7.18 to 2.7.19 in
    /receiver/sqlqueryreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.759 to 1.0.761 in /exporter/tencentcloudlogserviceexporter
    Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from
    0.44.0 to 0.45.0 in /examples/demo/client
    Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from
    0.44.0 to 0.45.0 in /examples/demo/server
    Bump golang.org/x/crypto from 0.13.0 to 0.14.0 in
    /receiver/podmanreceiver
    Bump golang.org/x/mod from 0.12.0 to 0.13.0 in /cmd/configschema
    Bump golang.org/x/net from 0.15.0 to 0.16.0 in
    /exporter/azuremonitorexporter
    Bump golang.org/x/net from 0.15.0 to 0.16.0 in /internal/aws/awsutil
    Bump golang.org/x/net from 0.15.0 to 0.16.0 in /receiver/jaegerreceiver
    Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 in
    /exporter/f5cloudexporter
    Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 in
    /extension/oauth2clientauthextension
    Bump golang.org/x/sys from 0.12.0 to 0.13.0 in
    /exporter/signalfxexporter
    Bump golang.org/x/sys from 0.12.0 to 0.13.0 in /pkg/stanza
    Bump golang.org/x/sys from 0.12.0 to 0.13.0 in /pkg/winperfcounters
    Bump golang.org/x/sys from 0.12.0 to 0.13.0 in
    /receiver/hostmetricsreceiver
    Bump golang.org/x/sys from 0.12.0 to 0.13.0 in
    /receiver/windowseventlogreceiver
    Bump golang.org/x/tools from 0.13.0 to 0.14.0 in /internal/tools
    Bump google.golang.org/api from 0.143.0 to 0.146.0 in
    /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.143.0 to 0.146.0 in
    /exporter/googlecloudpubsubexporter
    Bump google.golang.org/api from 0.143.0 to 0.146.0 in
    /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.143.0 to 0.146.0 in
    /receiver/googlecloudspannerreceiver
    opentelemetrybot authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    8da82c1 View commit details
    Browse the repository at this point in the history
  9. [internal/filterottl] Switch to match instead of drop (open-telemet…

    …ry#27471)
    
    **Description:** 
    We noticed that if you pass in a condition that fails parsing that the
    error message includes `drop() where ...` and it was jarring to see
    `drop` as the function when using filterottl to generate a condition
    that was not related to dropping data. While we wait for the ability to
    parse conditions in isolation
    (open-telemetry#13545),
    this change makes `filterottl` a little friendlier.
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Updated unit tests
    TylerHelmuth authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    5fcd082 View commit details
    Browse the repository at this point in the history
  10. [chore] limit number of published benchmark datapoints (open-telemetr…

    …y#27598)
    
    currently the charts are hard to read and the data file is 32mb in size.
    100 data points per chart seem enough.
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    23a3712 View commit details
    Browse the repository at this point in the history
  11. [chore] dependabot updates Tue Oct 10 17:56:10 UTC 2023 (open-telemet…

    …ry#27600)
    
    Bump github.com/DataDog/sketches-go from 1.4.2 to 1.4.3 in
    /exporter/datadogexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.761 to 1.0.762 in /exporter/tencentcloudlogserviceexporter
    Bump golang.org/x/net from 0.16.0 to 0.17.0 in
    /exporter/azuremonitorexporter
    Bump golang.org/x/net from 0.16.0 to 0.17.0 in /internal/aws/awsutil
    Bump golang.org/x/net from 0.16.0 to 0.17.0 in /receiver/jaegerreceiver
    opentelemetrybot authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    ee8fc19 View commit details
    Browse the repository at this point in the history
  12. Fix typo on the main README.md (open-telemetry#27603)

    Fixing a typo on the main README.md file:
    please following the process -> please follow the process
    perk authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    5e96d44 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f6cc02c View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. [chore] Prepare release 0.87.0 (open-telemetry#27609)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.87.0
    - sed -i.bak s/0.86.0/0.87.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync
    opentelemetrybot authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    adf5bb5 View commit details
    Browse the repository at this point in the history
  2. [exporter/parquet] remove Parquet exporter (open-telemetry#27285)

    **Description:**
    Remove the parquet exporter
    
    **Link to tracking Issue:**
    Fixes open-telemetry#27284
    atoulme authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    e5e0aa0 View commit details
    Browse the repository at this point in the history
  3. Add an optional argument to converters to support hashing (open-telem…

    …etry#27235)
    
    **Description:** Functions to modify matched text during replacement can
    now be passed as optional arguments to the following Editors:
    - replace_pattern
    - replace_all_patterns
    - replace_match
    - replace_all_matches
    
    **Documentation:**
    
    https://github.com/rnishtala-sumo/opentelemetry-collector-contrib/blob/ottl-replace-pattern/pkg/ottl/ottlfuncs/README.md#replace_pattern
    
    **Issue:**
    Resolves
    open-telemetry#22787
    rnishtala-sumo authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    14ea97d View commit details
    Browse the repository at this point in the history
  4. feat(syslogreceiver): validate protocol name (open-telemetry#27581)

    **Description:**
    
    Add validation of protocol name and be case insensitive
    
    **Link to tracking Issue:**
    
    **Testing:**
    
    Unit Tests
    
    **Documentation:**
    
    N/A
    
    ---------
    
    Signed-off-by: Dominik Rosiek <[email protected]>
    sumo-drosiek authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    8cd3f10 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d5d6480 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ae425ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6ce0193 View commit details
    Browse the repository at this point in the history
  8. [exporter/awscloudwatchlogsexporter] Improve performance of the awscl…

    …oudwatchlogs exporter (open-telemetry#26692)
    
    Adds support to the to parallelism in the
    awscloudwatchlogs exporter by leveraging the [exporter
    helper](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md).
    
    In this PR, we are adding support to the `num_consumers` configuration
    in the `sending_queue`. This will allow users to specify the number of
    consumers that will consume from the sending_queue in parallel.
    
    It is possible and straightforward to use this approach because
    CloudWatch logs [no longer requires that you use a token to control
    access to the stream that you are writing
    to](https://aws.amazon.com/about-aws/whats-new/2023/01/amazon-cloudwatch-logs-log-stream-transaction-quota-sequencetoken-requirement/).
    You can write to the same stream in parallel.
    
    To achieve this, this PR does the following:
    * Create Pusher that is able to push to multiple streams at the same
    time.
    * Move lifecycle of the Pusher to the function that is used to consume
    from the sending queue. This allows you to safely send to multiple
    streams at the same time without any resource contention since each call
    to consume logs will not share resources with others that are happening
    in parallel (one exception is the creation of log streams).
    
    Besides that I analyzed the code and removed other limitations:
    * locks that were not necessary
    * Limiter that was used to limit the number of requests per stream to 5
    per second. [The TPS is much higher now and is per
    account.](https://aws.amazon.com/about-aws/whats-new/2023/01/amazon-cloudwatch-logs-log-stream-transaction-quota-sequencetoken-requirement/)
    
    ** How to review this PR: **
    
    The first 3 commits in this PR were used to refactor the code before
    making the real changes. Please use the commits to simplify the review
    process.
    
    **Link to tracking Issue:** open-telemetry#26360
    
    **Testing:**
    
    - Unit tests were added.
    - Tested locally sending logs to cloudwatch logs.
    
    **Documentation:** Documentation was added describing the new
    parameters.
    
    ---------
    
    Signed-off-by: Raphael Silva <[email protected]>
    Co-authored-by: Anthony Mirabella <[email protected]>
    rapphil and Aneurysm9 authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    8bb5533 View commit details
    Browse the repository at this point in the history
  9. [exporter/prometheusremotewrite] Make maxBatchByteSize configurable (o…

    …pen-telemetry#23447)
    
    Adding a feature: Making `maxBatchByteSize` a configurable parameter.
    This would allow users to adjust it based on the capabilities of their
    specific remote storage, offering more flexibility and potentially
    improving performance.
    Example:
    ```yaml
    exporters:
      prometheusremotewrite:
        endpoint: "https://my-cortex:7900/api/v1/push"
        max_batch_byte_size: 5000000
    ```
    
    Fixes open-telemetry#21911 
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Added `MaxBatchByteSize` to `TestLoadConfig(t *testing.T)` in
    `config_test.go`
    
    **Documentation:** <Describe the documentation added.>
    Added to `README.md`:
    - `max_batch_byte_size` (default = `3000000` -> `~2.861 mb`): Maximum
    size of a batch of
    samples to be sent to the remote write endpoint. If the batch size is
    larger
      than this value, it will be split into multiple batches.
    
    ---------
    
    Co-authored-by: Alex Boten <[email protected]>
    yotamloe and Alex Boten authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    20b69de View commit details
    Browse the repository at this point in the history
  10. [chore] [exporter/awscloudwatchlogs] Remove duplicate consumer check (o…

    …pen-telemetry#27625)
    
    **Description:** v0.87.0 `exporterhelper.queue_settings.validate()`
    verifies the consumer setting for us. We no longer need to duplicate
    that validation.
    
    **Link to tracking Issue:** <Issue number if applicable> open-telemetry#27624
    bryan-aguilar authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    02cac2f View commit details
    Browse the repository at this point in the history
  11. [chore][pkg/stanza] Unexport reader's file name field (open-telemetry…

    …#27434)
    
    Incremental step towards decoupling the Reader struct.
    
    This also clarifies and corrects the behavior of the `ValidateOrClose`
    function.
    djaglowski authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    813fdb4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fea5ba8 View commit details
    Browse the repository at this point in the history
  13. [chore] bump go versions (open-telemetry#27631)

    This addresses https://pkg.go.dev/vuln/GO-2023-2102
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    34fea17 View commit details
    Browse the repository at this point in the history
  14. [k8sclusterreceiver] remove opencensus.resourcetype resource attribute (

    open-telemetry#27616)
    
    **Description:** 
    
    This resource attribute was deprecated in prior release (
    open-telemetry#27584)
    so I am removing it.
    
    **Link to tracking Issue:**
    
    open-telemetry#26487
    povilasv authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    9dfa2f7 View commit details
    Browse the repository at this point in the history
  15. [chore][receiver/k8sobjects] add tests for k8sobjectsreceiver (open-t…

    …elemetry#27569)
    
    **Description:** Adds an e2e test for the k8sobjectsreceiver to github
    workflow
    <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
    Ex. Adding a feature - Explain what this achieves.-->
    
    **Link to tracking Issue:**
    [18395](open-telemetry#18395)
    jinja2 authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    918a81e View commit details
    Browse the repository at this point in the history
  16. [chore] Remove stale go mod replace for datadog-agent (open-telemetry…

    …#27622)
    
    **Description:**  Remove stale go mod replace for datadog-agent and upgrade to the released version.
    
    **Link to tracking Issue:**  Fixes open-telemetry#25119.
    songy23 authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    a5528c9 View commit details
    Browse the repository at this point in the history
  17. [chore] [exporter/signalfx] Remove redundant translation (open-teleme…

    …try#27634)
    
    Remove translation dropping the `opencensus.resourcetype` resource
    attribute as it's not emitted by k8s receivers anymore. The last one was
    removed in
    open-telemetry#27616
    dmitryax authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    18712c2 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. [chore] Fix typo in README (open-telemetry#27639)

    **Documentation:** <Describe the documentation added.>
    Found a typo while reading the transform processor readme.
    crobert-1 authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    220b111 View commit details
    Browse the repository at this point in the history
  2. [Feature][exporter/azuredataexplorerexporter] Exporter helper support (

    …open-telemetry#27272)
    
    **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.-->
    Added support for  Exporter Helper configuration. 
    **Link to tracking Issue:** open-telemetry#24329 
    
    **Testing:** <Describe what testing was performed and which tests were
    added.> Added tests and manually tested with e2e scenarios
    
    ---------
    
    Co-authored-by: Ramachandran A G <[email protected]>
    Co-authored-by: Ziqi Zhao <[email protected]>
    Co-authored-by: Ramachandran A G <[email protected]>
    4 people authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    7ef43a0 View commit details
    Browse the repository at this point in the history
  3. [k8sclusterreceiver] add k8s.pod.qos_class optional resource attribute (

    open-telemetry#27485)
    
    **Description:** <Describe what has changed.>
    
    add k8s.pod.qos_class optional resource attriute
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    open-telemetry#27483
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    - updated unit tests
    
    **Documentation:** <Describe the documentation added.>
    
    - generated
    povilasv authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    dc2658b View commit details
    Browse the repository at this point in the history
  4. feat: add honeycomb marker exporter structure (open-telemetry#27001)

    **Description:** This component will export markers to be consumed by
    the Honeycomb Markers API to highlight user events based initially on
    preset configurations.
    
    **Link to tracking Issue:** open-telemetry#26653 
    
    **Testing:** Unit testing for factory and config
    
    **Documentation:** README describing component usage
    
    ---------
    
    Co-authored-by: Tyler Helmuth <[email protected]>
    fchikwekwe and TylerHelmuth authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    628a6cb View commit details
    Browse the repository at this point in the history
  5. [chore] [receiver/mysqlreceiver] Update readme (open-telemetry#27656)

    **Description:** 
    It's not obvious from the readme that you won't get all metrics listed
    in metadata by default.
    Suggest small doc update to make it clearer. 
    
    **Link to tracking Issue:** 
    
    **Testing:** Observed with running collector.
    
    **Documentation:** See above.
    
    ---------
    
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>
    3 people authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    1a2f79a View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. [receiver/dockerstats] Disable deprecated cpu metric (open-telemetry#…

    …24183)
    
    2nd step for the deprecation of `container.cpu.percent`
    
    According to the deprecation plan in the
    [docs](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.79.0/receiver/dockerstatsreceiver#transition-to-cpu-utilization-metric-name-aligned-with-opentelemetry-specification),
    this PR disables the old metric by default, to be released in v0.83.0
    
    tracking issue:
    open-telemetry#21807
    
    ---------
    
    Co-authored-by: Christian <[email protected]>
    carlossscastro and sigilioso authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    cc38768 View commit details
    Browse the repository at this point in the history
  2. [processor/redactionprocessor] fix mask when multiple patterns exist (o…

    …pen-telemetry#27646)
    
    **Description:**
    Fix mask when multiple patterns exist
    
    With following input:
    
    ```
    attr: <secret1> <secret2>
    ```
    
    and config:
    
    ```
    redaction:
      blocked_values:
        - '<secret1>'
        - '<secret2>'
    ```
    
    Output before fix:
    
    ```
    attr: <secret1> ****
    ```
    
    Output after fix:
    
    ```
    attr: **** ****
    ```
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    ArchangelSDY authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    ab93d6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    09bbc48 View commit details
    Browse the repository at this point in the history
  4. [chore][pkg/stanza] Add module README (open-telemetry#27657)

    Resolves open-telemetry#27640
    
    ---------
    
    Co-authored-by: Paulo Janotti <[email protected]>
    djaglowski and pjanotti authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    c9546e2 View commit details
    Browse the repository at this point in the history
  5. [extension/storage/filestorage] Add bbolt FSync as a config option (o…

    …pen-telemetry#27459)
    
    Description: Exposes bbolt fsync as a configuration option
    
    Link to tracking Issue:
    [20266](open-telemetry#20266)
    
    Testing: Manual Testing, Updated unit tests for factory and client
    
    Documentation: Added change-log and documentation comments in config.go
    
    ---------
    
    Co-authored-by: Daniel Jaglowski <[email protected]>
    natbur and djaglowski authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    6e02e73 View commit details
    Browse the repository at this point in the history
  6. [pkg/stanza] Cache event publishers: log warn once per provider (open…

    …-telemetry#27658)
    
    **Description:**
    
    Cache the publisher event to:
    
    1. Avoid logging the same error message every time one event from the
    given source is logged.
    2. Avoid opening and closing the event publisher for every single event.
    
    **Link to tracking Issue:**
    
    [Item 4 described on the
    investigation](open-telemetry#21491 (comment))
    for issue open-telemetry#21491.
    
    **Testing:**
    
    * Go tests for `pkg/stanza` and `receiver/windowseventlogreceiver` on
    Windows box.
    * Ran the contrib build locally to validate the change.
    * Can't run the full make locally: misspell is failing on Windows
    because the command line is too long.
    
    **Documentation:**
    
    Let me know if changing the severity of the log message requires a
    changelog update.
    pjanotti authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    784514f View commit details
    Browse the repository at this point in the history
  7. Make pjanotti owner of windowseventlogreceiver (open-telemetry#27667)

    **Description:**
    Adding myself as owner of `windowseventlogreceiver` per invite
    open-telemetry#27658 (comment)
    
    cc @djaglowski
    pjanotti authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    3d643a0 View commit details
    Browse the repository at this point in the history
  8. [exporter/prometheusremotewrite] Fix exporter not respecting retrySet…

    …tings.enabled flag (open-telemetry#27592)
    
    **Description:** Previously the remote write exporter would incorrectly
    retry if `retrySettings.enabled` was set to false.
    
    **Testing:** Unit tests
    bryan-aguilar authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    3355aff View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. [processor/resourcedetection] fix parsing error for windows (open-tel…

    …emetry#27678)
    
    **Description:** 
    The `system` detector extracts all the `cpu` info from the system even
    if you disable the configs and I believe this is where the bug kicks in.
    Disabling the settings will only stop it from setting the resource
    attributes.
    
    The
    [library](https://github.com/shirou/gopsutil/blob/v3.23.9/cpu/cpu_windows.go#L113)
    that we rely on doesn't extract some attributes for Windows OS (in this
    case, the field `cpu.Model`) and it leaves this field empty. This
    results in a bug when we try to parse an empty string.
    
    The long-term fix will be to extract `cpu.Model` in `gopsutil` upstream
    library.
    
    **Link to tracking Issue:**
    open-telemetry#27675
    VihasMakwana authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    ab79a8b View commit details
    Browse the repository at this point in the history
  2. [chore]: Expand e2e testbed (open-telemetry#27251)

    Related issue:
    open-telemetry#20552
    
    Tweak the mock-backend to do following:
    
    - Receives data from the receiver.
    - Returns errors randomly to our receiver, which attempts to resend/drop
    the data.
    
    This is helpful when we're required to test random behaviors of the
    collector and ensure reliable data delivery.
    
    
    This is my initial PR to expand the testbed. This will help my further
    efforts to expand the testbed.
    Myself and @omrozowicz-splunk plan on adding `sending_queue` support to
    the testbed and expanding the testing capabilities.
    
    ---------
    
    Co-authored-by: Daniel Jaglowski <[email protected]>
    VihasMakwana and djaglowski authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    3c2935f View commit details
    Browse the repository at this point in the history
  3. feat: add integration test for syslog exporter (and receiver) (open-t…

    …elemetry#27464)
    
    **Description:**
    
    Adding integration tests for syslog exporter (and syslog receiver) and
    fixing bugs which has been found during the process
    
    **Link to tracking Issue:** open-telemetry#21245 
    
    **Testing:**
    
    Integration tests and more unit tests
    
    **Documentation:**
    
    N/A
    
    ---------
    
    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    sumo-drosiek and djaglowski authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    4e3323b View commit details
    Browse the repository at this point in the history
  4. [receiver/file] Fix the stated supported telemetry types (open-teleme…

    …try#27684)
    
    **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.-->
    Logs and traces are not supported telemetry types for the file receiver,
    and the collector will fail to start if it the receiver is in included
    in a pipeline of either of these types. This change is to correct the
    README to properly reflect this.
    
    **Link to tracking Issue:** <Issue number if applicable>
    Resolves open-telemetry#27682
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    crobert-1 authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    a414171 View commit details
    Browse the repository at this point in the history
  5. [chore] throw error if GITHUB_TOKEN env is not set (open-telemetry#27677

    )
    
    running `make gengithub` or `make update-codeowners` with an incorrect
    token or without setting the token throws the same following error:
    ```https://api.github.com/orgs/open-telemetry/members?per_page=50: 401 Bad credentials []```
    
    It makes sense to throw an error if the user has forgotten to set the GITHUB_TOKEN variable and it also distinguishes between the two cases (incorrect token and token not set)
    VihasMakwana authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    6263925 View commit details
    Browse the repository at this point in the history
  6. [chore] clean up koanf 1.5 dep (open-telemetry#27670)

    This has been causing ambiguous imports all over the place for some
    time.
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    3b30ff0 View commit details
    Browse the repository at this point in the history
  7. Splunkent client refactor (open-telemetry#27205)

    Refactored parts of the Splunk Enterprise receiver to better leverage
    the pre-existing otel SDK. This PR also updates the README to be a more
    informative document.
    
    [27026](open-telemetry#27026)
    
    Unit testing is included and updated to accommodate the new refactor.
    shalper2 authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    30024d9 View commit details
    Browse the repository at this point in the history
  8. [exporter/signalfx] [exporter/splunkhec] Remove max_connections confi…

    …g parameter (open-telemetry#27611)
    
    **Description:**
    The max_connections config setting were deprecated with
    open-telemetry#16837
    and
    open-telemetry#16838.
    It has been 10 months since these changes have been made and it is time
    to remove this configuration setting altogether.
    
    **Link to tracking Issue:**
    open-telemetry#27610
    atoulme authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    b37a55e View commit details
    Browse the repository at this point in the history
  9. [exporter/signalfx] expose build version in user agent string (open-t…

    …elemetry#27612)
    
    **Description:**
    The current SignalFx exporter maps to a static user agent string
    "OpenTelemetry-Collector SignalFx Exporter/v0.0.1".
    
    This PR changes the version to match the build info version.
    
    **Link to tracking Issue:**
    Fixes open-telemetry#16841
    atoulme authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    4a1d7c8 View commit details
    Browse the repository at this point in the history
  10. [chore] Fix some wording in CONTRIBUTING.md (open-telemetry#27771)

    Fixes some incorrect wording in the contributing documentation
    crobert-1 authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    d5344ca View commit details
    Browse the repository at this point in the history
  11. [chore][exporter/splunkhec] reuse metric buffer (open-telemetry#27776)

    Reuse the byte buffer used when encoding metrics to HEC events JSON.
    atoulme authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    c044b5a View commit details
    Browse the repository at this point in the history
  12. [chore] dependabot updates Mon Oct 16 18:31:00 UTC 2023 (open-telemet…

    …ry#27725)
    
    Bump github.com/DataDog/datadog-api-client-go/v2 from 2.17.0 to 2.18.0
    in /exporter/datadogexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/aliyun/aliyun-log-go-sdk from 0.1.60 to 0.1.63 in
    /exporter/alibabacloudlogserviceexporter
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.25 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.25 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.25 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.25 in
    /processor/resourcedetectionprocessor
    Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 in
    /pkg/translator/opencensus
    Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 in
    /processor/resourcedetectionprocessor
    Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 in
    /receiver/activedirectorydsreceiver
    Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 in
    /receiver/elasticsearchreceiver
    Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 in
    /receiver/sqlserverreceiver
    Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 in
    /receiver/vcenterreceiver
    Bump github.com/klauspost/compress from 1.17.0 to 1.17.1 in
    /exporter/fileexporter
    Bump github.com/prometheus/prometheus from 0.47.1 to 0.47.2 in
    /exporter/prometheusexporter
    Bump github.com/prometheus/prometheus from 0.47.1 to 0.47.2 in
    /pkg/translator/prometheusremotewrite
    Bump github.com/prometheus/prometheus from 0.47.1 to 0.47.2 in /testbed
    Bump google.golang.org/api from 0.146.0 to 0.147.0 in
    /receiver/googlecloudpubsubreceiver
    opentelemetrybot authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    2c32df7 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. [chore] dependabot updates Tue Oct 17 00:15:58 UTC 2023 (open-telemet…

    …ry#27790)
    
    Bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob from 1.1.0 to
    1.2.0 in /receiver/azureblobreceiver
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.14.2 to 2.14.3 in
    /exporter/clickhouseexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.26 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.26 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.26 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.45.24 to 1.45.26 in
    /receiver/awsxrayreceiver
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.45.25 to 1.45.26 in
    /receiver/awsecscontainermetricsreceiver
    Bump github.com/aws/aws-sdk-go-v2 from 1.21.1 to 1.21.2 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2 from 1.21.1 to 1.21.2 in
    /extension/sigv4authextension
    Bump github.com/aws/aws-sdk-go-v2/config from 1.18.44 to 1.19.0 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/config from 1.18.44 to 1.19.0 in
    /extension/sigv4authextension
    Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.42 to 1.13.43 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.42 to 1.13.43 in
    /extension/sigv4authextension
    Bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.19.1 to 1.19.2
    in /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.23.1 to 1.23.2 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.23.1 to 1.23.2 in
    /extension/sigv4authextension
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.762 to 1.0.766 in /exporter/tencentcloudlogserviceexporter
    Bump go.mongodb.org/atlas from 0.33.0 to 0.34.0 in
    /receiver/mongodbatlasreceiver
    opentelemetrybot authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    702c9d7 View commit details
    Browse the repository at this point in the history
  2. [exporter/datasetexporter]: Fix NPE exception when attribute contains…

    … nil (open-telemetry#27663)
    
    **Description:** Nil is valid value for the attributes in events, spans,
    resources, and scopes. Lets do not crash when it appears.
    
    **Link to tracking Issue:** open-telemetry#27648
    
    **Testing:** I have added unit tests to verify the fix.
    
    **Documentation:** <Describe the documentation added.>
    martin-majlis-s1 authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    7122783 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ce2442 View commit details
    Browse the repository at this point in the history
  4. Add async config block & concurrent readers to UDP input operator (op…

    …en-telemetry#27647)
    
    **Description:** adding a feature - Adding asynchronous & concurrency
    mode to the UDP receiver/stanza input operator - goal is to reduce UDP
    packet loss in high-scale scenarios.
    Added 'async' block that holds 'FixedAReaderRoutineCount' field - it
    determines how many concurrent readers will read from the UDP port,
    process logs, and send them downstream.
    
    **Link to tracking Issue:** 27613
    
    **Testing:** Local stress tests ran all types of config (no 'async',
    with empty 'async', with 'async' that contains
    FixedAReaderRoutineCount=2).
    In repo, added single test to udp_test, config_test (in stanza udp
    operator), and udp_test (in udplogreceiver).
    
    **Documentation:** Updated md file for both udplogreceiver & stanza
    udp_input operator with the new flags.
    
    ---------
    
    Co-authored-by: Daniel Jaglowski <[email protected]>
    hovavza and djaglowski authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    cf8ea3a View commit details
    Browse the repository at this point in the history
  5. [k8sclusterreceiver] change resourcequota and clusterquota units (ope…

    …n-telemetry#27662)
    
    change resourcequota and clusterquota metrics to use {resource} units.
    
    **Link to tracking Issue:** open-telemetry#10553
    povilasv authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    8f989ee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1a03d9c View commit details
    Browse the repository at this point in the history
  7. [cmd/otelcontribcol] Simplify exporters lifecycle tests (open-telemet…

    …ry#27816)
    
    There is no need to skip tests for components that we don't have
    factories for. We can just remove those tests. This helped to find a
    wrong test for nonexistent awscloudwatch exporter
    dmitryax authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    22ffdf5 View commit details
    Browse the repository at this point in the history
  8. [pkg/pdatatest] Ignore span timestamps (open-telemetry#27798)

    **Description:** 
    Support ignore timestamps in span comparisons for pdatatest.
    
    **Link to tracking Issue:** 
    
    open-telemetry#27688
    
    **Testing:**
    make chlog-validate
    go test for pkg/pdatatest
    
    **Documentation:**
    Add usage for `ptracetest.IgnoreStartTimestamp()` and
    `ptracetest.IgnoreEndTimestamp()`
    sakulali authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    c878560 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5196fd4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    69f892e View commit details
    Browse the repository at this point in the history
  11. [chore][pkg/stanza] Use unscoped mock persister where possible (open-…

    …telemetry#27809)
    
    Subset of open-telemetry#27775
    
    Many tests were unnecessarily using a scoped persister. This just
    changes to using unscoped where possible.
    djaglowski authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    1657932 View commit details
    Browse the repository at this point in the history
  12. [chore] dependabot updates Tue Oct 17 21:10:42 UTC 2023 (open-telemet…

    …ry#27819)
    
    Bump cloud.google.com/go/spanner from 1.50.0 to 1.51.0 in
    /receiver/googlecloudspannerreceiver
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.766 to 1.0.767 in /exporter/tencentcloudlogserviceexporter
    opentelemetrybot authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    6d5205c View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. [chore][pkg/stanza] Extract checkpointing logic into internal package (

    …open-telemetry#27775)
    
    This PR moves checkpointing logic into a dedicated package. Since we
    only actually save and load `reader.Metadata`, the `fileconsumer`
    package is still responsible for pulling `Metadata` out of each `Reader`
    prior to saving, and wrapping `Metadata` into a `Reader` when loading.
    djaglowski authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    02c7646 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a23c23 View commit details
    Browse the repository at this point in the history
  3. Update Grafana Agent distribution components (open-telemetry#27615)

    **Description:** This adds Grafana Agent as a distribution to some new
    components after the Grafana Agent v0.37 release.
    
    https://github.com/grafana/agent/blob/main/CHANGELOG.md#v0370-2023-10-10
    
    **Link to tracking Issue:**  None filed.
    
    **Testing:** None added.
    
    **Documentation:** Adding links to grafana agent in the
    alphabetically-sorted list.
    
    ---------
    
    Signed-off-by: Paschalis Tsilias <[email protected]>
    Co-authored-by: Juraci Paixão Kröhling <[email protected]>
    tpaschalis and jpkrohling authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    80094bc View commit details
    Browse the repository at this point in the history
  4. [cmd/otecontribcol] Add sending data step to exporter lifecycle tests (

    …open-telemetry#27824)
    
    As the next step, I'll update it to send readonly data to immutable
    exporters
    dmitryax authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    4117a4c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b517424 View commit details
    Browse the repository at this point in the history
  6. [chore] Send readonly data to immutable exporters in lifecycle tests (o…

    …pen-telemetry#27825)
    
    This should help to catch exporters that are incorrectly claimed as not
    mutating.
    dmitryax authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    bf0a3f4 View commit details
    Browse the repository at this point in the history
  7. UDP input operator - async mode - separate between readers & processo…

    …rs (open-telemetry#27805)
    
    **Description:** adding a feature - when async mode is enabled in the
    UDP receiver (udp input operator), separating reading from processing
    operations.
    This is important to reduce data-loss in high scale UDP scenarios. See
    original issue for more details.
    The async config block is changed now. Instead of readers field
    (determining the concurrency level of how many threads the udp receiver
    is running, all reading from the UDP port, processing, and sending
    downstream), it will now have 2 fields:
    - readers - determines the concurrency level of threads only reading
    from UDP port and pushing the packets to a channel.
    - processors - determines the concurrency level of threads reading from
    the channel, processing the packets, and sending downstream.
    - max_queue_length - determines the max size of the channel between the
    readers & the processors. Setting it high enough, allows to prevent
    data-loss in cases of downstream temporary latency. Once channel is
    full, the readers thread will stop until there's room in the queue (so
    to prevent unlimited memory usage).
    This improves performance and reduces UDP packet loss in high-scale
    scenarios.
    Note that async mode only supports this separation of readers from
    processors. If async config block isn't included, the default state
    
    **Link to tracking Issue:** 27613
    
    **Testing:** Local stress tests ran all types of async config (no
    'async', with 'async', etc.). Updating existing udp test accordingly.
    Also, ran scale tests and saw improvement in data-loss.
    
    **Documentation:** Updated md file for both udplogreceiver & stanza
    udp_input operator with the new flags.
    
    ---------
    
    Co-authored-by: Daniel Jaglowski <[email protected]>
    hovavza and djaglowski authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    c2f343b View commit details
    Browse the repository at this point in the history
  8. [receiver/filelog] Implement specifying top n files to track when ord…

    …ering (open-telemetry#27844)
    
    **Description:**
    * Add a new `ordering_criteria.top_n` option, which allows a user to
    specify the number of files to track after ordering.
      * Default is 1, which was the existing behavior.
    
    **Link to tracking Issue:** open-telemetry#23788
    
    **Testing:**
    Unit tests added.
    
    **Documentation:**
    Added new parameter to existing documentation.
    BinaryFissionGames authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    c44ad3c View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. [pkg/pdatautil] Optimize the hashing function for pcommon.Map (open…

    …-telemetry#27840)
    
    **Description:**
    
    Improve the performance of the `MapHash` function, mostly by using the
    xxhash architecture optimized version.
    
    `hash.Sum` is a 'Go-code' only implementation
    `xxhash.Sum64` has optimized versions for different architectures
    Both result in the exact same hash though.
    
    
    For the given benchmarks, the gain is > 10%
    
    From `main`:
    ```
    goos: linux
    goarch: amd64
    pkg: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil
    cpu: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
    BenchmarkMapHashFourItems-16                  	47676003	       236.0 ns/op	      24 B/op	       1 allocs/op
    BenchmarkMapHashEightItems-16                 	22551222	       532.3 ns/op	      32 B/op	       2 allocs/op
    BenchmarkMapHashWithEmbeddedSliceAndMap-16    	14098969	       893.1 ns/op	      56 B/op	       3 allocs/op
    ```
    
    The PR:
    ```
    goos: linux
    goarch: amd64
    pkg: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil
    cpu: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
    BenchmarkMapHashFourItems-16                  	59854737	       203.4 ns/op	      24 B/op	       1 allocs/op
    BenchmarkMapHashEightItems-16                 	25609375	       475.0 ns/op	      32 B/op	       2 allocs/op
    BenchmarkMapHashWithEmbeddedSliceAndMap-16    	15950144	       753.8 ns/op	      56 B/op	       3 allocs/op
    ```
    
    **Testing:**
    (Re-)using the same tests and benchmarks to prove semantics didn't
    change.
    mdonkers authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    762f843 View commit details
    Browse the repository at this point in the history
  2. [aws/cwlogs] Reduce noisy logger in CloudWatch logs pusher (open-tele…

    …metry#27774)
    
    **Description:** Log at the debug level instead of info level. Existing
    behavior would cause excessive log lines on each successful push.
    bryan-aguilar authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    8ab993c View commit details
    Browse the repository at this point in the history
  3. [pkg/pdatatest] Ignore trace ID for ptracetest (open-telemetry#27829)

    **Description:** 
    Support ignore trace ID in span comparisons for ptracetest.
    
    **Link to tracking Issue:**
    
    open-telemetry#27687
    sakulali authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    51b8081 View commit details
    Browse the repository at this point in the history
  4. [pkg/pdatatest] Ignore span ID for ptracetest (open-telemetry#27833)

    **Description:** 
    Support ignore span ID in span comparisons for ptracetest.
    
    **Link to tracking Issue:** 
    
    open-telemetry#27685
    
    **Testing:** 
    make chlog-validate 
    go test for pdatatest
    
    **Documentation:**
    sakulali authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    4b41ec6 View commit details
    Browse the repository at this point in the history
  5. [processor/k8sattributes] Handle all resource deletion event types (o…

    …pen-telemetry#27847)
    
    **Description:**
    
    The k8s go client's cache expects OnDelete handlers to handle objects of
    type DeletedFinalStateUnknown when the cache's watch mechanism misses a
    delete and notices later. This changes the processor to handle such
    deletes as if they were normal, rather than logging an error and
    dropping the change.
    
    **Link to tracking Issue:**
    open-telemetry#27632
    
    **Testing:**
    
    Only what you see in the unit tests. I am open to suggestions, but I
    don't see this being a code path we can reasonably cover in the e2e test
    suite.
    
    Verified manually locally on a kind cluster.
    * Stood up two deployments loosely based off e2e testing resources, one
    w/ a collector built from this branch and the other
    docker.io/otel/opentelemetry-collector-contrib:latest.
    * Both included an additional container in the collector pod I used to
    fiddle with iptables rules.
    * Added rules to reject traffic to/from the kube api server
    * Deleted some namespaces containing deployments generating telemetry.
    * Restored connectivity by removing the iptables rules.
    * Observed the collector built from this branch was silent (aside from
    the junk the k8s client logs due to the broken connection)
    * Observed the latest
    ([0.87.0](https://hub.docker.com/layers/otel/opentelemetry-collector-contrib/0.87.0/images/sha256-77cdd395b828b09cb920c671966f09a87a40611aa6107443146086f2046f4a9a?context=explore))
    collector logged a handful of errors for the deleted resources
    (api_v1.Pod, and apps_v1.ReplicaSet. I probably just didn't wait long
    enough for Namespace.)
    
    ```
    2023-10-19T02:18:37.781Z        error   kube/client.go:236      object received was not of type api_v1.Pod      {"kind": "processor", "name": "k8sattributes", "pipeline": "metrics", "received": {"Key":"src1/telemetrygen-patched-766d55cbcb-8zktr","Obj":{"metadata":{"name":"telemetrygen-patched-766d55cbcb-8zktr","namespace":"src1","uid":"be5d2268-c8b0-434d-b3b8-8b18083c7a8b","creat
    ionTimestamp":"2023-10-19T02:01:08Z","labels":{"app":"telemetrygen-patched","pod-template-hash":"766d55cbcb"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"ReplicaSet","name":"telemetrygen-patched-766d55cbcb","uid":"a887d67a-d5d6-4269-b520-45dbb4f1cd82","controller":true,"blockOwnerDeletion":true}]},"spec":{"containers":[{"name":"telemetrygen","image":"localhost/telemetrygen
    :latest","resources":{}}],"nodeName":"manual-e2e-testing-control-plane"},"status":{"podIP":"10.244.0.56","startTime":"2023-10-19T02:01:08Z","containerStatuses":[{"name":"telemetrygen","state":{},"lastState":{},"ready":false,"restartCount":0,"image":"","imageID":"","containerID":"containerd://2821ef32cd8bf93a13414504c0f8f0c016c84be49d6ffdbd475d7e4681e90c51"}]}}}}
    github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/kube.(*WatchClient).handlePodDelete
            github.com/open-telemetry/opentelemetry-collector-contrib/processor/[email protected]/internal/kube/client.go:236
    k8s.io/client-go/tools/cache.ResourceEventHandlerFuncs.OnDelete
            k8s.io/[email protected]/tools/cache/controller.go:253
    ...
    
    2023-10-19T02:19:03.970Z        error   kube/client.go:868      object received was not of type apps_v1.ReplicaSet      {"kind": "processor", "name": "k8sattributes", "pipeline": "metrics", "received": {"Key":"src1/telemetrygen-stable-5c444bb8b8","Obj":{"metadata":{"name":"telemetrygen-stable-5c444bb8b8","namespace":"src1","uid":"d37707ff-b308-4339-8543-a1caf5705ea8","creationTimestamp":null,"ownerReferences":[{"apiVersion":"apps/v1","kind":"Deployment","name":"telemetrygen-stable","uid":"c421276e-e1bf-40c5-85e1-e92e30363da5","controller":true,"blockOwnerDeletion":true}]},"spec":{"selector":null,"template":{"metadata":{"creationTimestamp":null},"spec":{"containers":null}}},"status":{"replicas":0}}}}
    github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/kube.(*WatchClient).handleReplicaSetDelete
            github.com/open-telemetry/opentelemetry-collector-contrib/processor/[email protected]/internal/kube/client.go:868
    k8s.io/client-go/tools/cache.ResourceEventHandlerFuncs.OnDelete
            k8s.io/[email protected]/tools/cache/controller.go:253
    k8s.io/client-go/tools/cache.(*processorListener).run.func1
            k8s.io/[email protected]/tools/cache/shared_informer.go:979
    k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
    ...
    ```
    **Documentation:** N/A - it is not clear to me whether or not this
    should land on the changelog. Its impact on users is marginal.
    
    Signed-off-by: Christian Kruse <[email protected]>
    c-kruse authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    b0f0dda View commit details
    Browse the repository at this point in the history
  6. [pkg/ottl] Add Double converter (open-telemetry#27457)

    **Description:** Adding a Double converter to pkg/ottl
    
    **Link to tracking Issue:** closes open-telemetry#22056
    gord02 authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    c482aa7 View commit details
    Browse the repository at this point in the history
  7. [chore][exporter/fileexporter] use errors.Join instead of go.uber.org…

    …/multierr (open-telemetry#27835)
    
    **Description:** fileexporter: use errors.Join instead of go.uber.org/multierr
    
    **Link to tracking Issue:** open-telemetry#25121
    bagmeg authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    be81ae7 View commit details
    Browse the repository at this point in the history
  8. [connector/datadog] Allow export to traces pipelines (open-telemetry#…

    …27846)
    
    **Description:** <Describe what has changed.>
    Allow datadogconnector export to traces pipelines
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    
    ---------
    
    Co-authored-by: Pablo Baeyens <[email protected]>
    songy23 and mx-psi authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    1842e13 View commit details
    Browse the repository at this point in the history
  9. [receiver/k8sobjects] Bump to beta stability for logs (open-telemetry…

    …#27635)
    
    **Description:**
    Bumps the receiver to beta stability for logs
    
    **Link to tracking Issue:** <Issue number if applicable>
    Closes
    open-telemetry#21503
    TylerHelmuth authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    d474dca View commit details
    Browse the repository at this point in the history
  10. [chore][exporter/elasticsearchexporter] use errors.Join instead of go…

    ….uber.org/multierr (open-telemetry#27857)
    
    **Description:** 
    use errors.Join instead of go.uber.org/multierr
    
    **Link to tracking Issue:** <Issue number if applicable>
    open-telemetry#25121 
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    bagmeg authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    cbe5e71 View commit details
    Browse the repository at this point in the history
  11. Add JMX metrics gatherer version 1.31.0-alpha (open-telemetry#27852)

    cc @open-telemetry/java-contrib-approvers
    opentelemetrybot authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    b10bbca View commit details
    Browse the repository at this point in the history
  12. [chore][cmd/otelcontribcol] Exclude from linter (open-telemetry#27865)

    **Description:**
    The linter runs are taking longer and longer as more components and
    dependencies are added, it's preferable to simply run on each individual
    component.
    
    **Link to tracking Issue:** 
    Related: open-telemetry#27850
    crobert-1 authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    1e793c7 View commit details
    Browse the repository at this point in the history
  13. [chore][pkg/stanza] Log matching paths (open-telemetry#27859)

    This PR adds a debug log to give visibility into the exact outcome of
    file matching configuration.
    
    It also removes some fragile logging expectations from batching tests. I
    believe the meaningful part of the tests remain intact.
    djaglowski authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    ac020a2 View commit details
    Browse the repository at this point in the history
  14. [extension/encoding/jsonlogencoding] add new extension for JSON codec (

    …open-telemetry#27484)
    
    **Description:** Create a new extension for JSON. This will be used in
    pulsarreceiver/kafkareceiver to populate the log record's map from the
    raw body.
    
    **Link to tracking Issue:**
    [6272](https://github.com/open-telemetry/opentelemetry-collector/issues/6272)
    
    ---------
    
    Co-authored-by: Dmitrii Anoshin <[email protected]>
    VihasMakwana and dmitryax authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    9f457d3 View commit details
    Browse the repository at this point in the history
  15. [pkg/pdatatest] Ignore span attribute value (open-telemetry#27861)

    **Description:**
    Support ignore span attribute value in span comparisons for ptracetest.
    
    **Link to tracking Issue:** 
    open-telemetry#27689
    sakulali authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    147d59d View commit details
    Browse the repository at this point in the history
  16. [cmd/otelcolcontrib] [chore] Send test data in lifecycle processor te…

    …sts (open-telemetry#27848)
    
    The lifecycle test passes readonly data to processors claimed as not
    mutable to catch invalid behavior.
    
    Similar to
    open-telemetry#27825,
    but for processors tests.
    dmitryax authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    a9e4f7f View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. [chore] remove mentions of docs.signalfx.com from docs (open-telemetr…

    …y#27869)
    
    The website docs.signalfx.com has been decommissioned and no longer
    resolves. Changing all doc links to the new doc website or removing
    them.
    atoulme authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    d818cfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24f1c59 View commit details
    Browse the repository at this point in the history
  3. [exporter/signalfx] Add an option to control the dimension client tim…

    …eout (open-telemetry#27815)
    
    **Description:** 
    The dimension client timeout is currently hardcoded to 10 seconds, this
    PR makes the timeout configurable.
    
    Signed-off-by: Dani Louca <[email protected]>
    Co-authored-by: Antoine Toulme <[email protected]>
    dloucasfx and atoulme authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    1d2be84 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    56a5497 View commit details
    Browse the repository at this point in the history
  5. [exporter/datasetexporter]: Make export of resources and scopes more …

    …flexible (open-telemetry#27683)
    
    **Description:** Make export of resources and scopes more flexible
    
    **Link to tracking Issue:** open-telemetry#27651 , open-telemetry#27649 
    
    **Testing:** Unit tests
    
    **Documentation:** <Describe the documentation added.>
    
    **Note:**: This PR is on top of this PR -
    https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/27663/files
    - since it's introducing some helper functions and it's fixing NPE.
    
    Fixes open-telemetry#27651
    Fixes open-telemetry#27649
    
    ---------
    
    Signed-off-by: Paschalis Tsilias <[email protected]>
    Signed-off-by: Christian Kruse <[email protected]>
    Co-authored-by: Paschalis Tsilias <[email protected]>
    Co-authored-by: Juraci Paixão Kröhling <[email protected]>
    Co-authored-by: Dmitrii Anoshin <[email protected]>
    Co-authored-by: Andrzej Stencel <[email protected]>
    Co-authored-by: hovavza <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Brandon Johnson <[email protected]>
    Co-authored-by: Miel Donkers <[email protected]>
    Co-authored-by: bryan-aguilar <[email protected]>
    Co-authored-by: sakulali <[email protected]>
    Co-authored-by: Christian Kruse <[email protected]>
    Co-authored-by: gord02 <[email protected]>
    Co-authored-by: bagmeg <[email protected]>
    Co-authored-by: Yang Song <[email protected]>
    Co-authored-by: Pablo Baeyens <[email protected]>
    Co-authored-by: Tyler Helmuth <[email protected]>
    Co-authored-by: OpenTelemetry Bot <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>
    Co-authored-by: VihasMakwana <[email protected]>
    Co-authored-by: Antoine Toulme <[email protected]>
    Configuration menu
    Copy the full SHA
    e347ff3 View commit details
    Browse the repository at this point in the history
  6. [pkg/stanza] Fix nil pointer dereference (open-telemetry#27882)

    **Description:** 
    Copying reader with empty FlushState will cause a nil pointer
    dereference.
    haoqixu authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    da24c2b View commit details
    Browse the repository at this point in the history
  7. [cmd/telemetrygen] Move end to end tests to separate module (open-tel…

    …emetry#27878)
    
    **Description:** 
    
    Move `cmd/telemetrygen` integration tests to separate module, to avoid
    local replaces. Follow up to open-telemetry#26668.
    
    **Link to tracking Issue:** Fixes open-telemetry#27855
    mx-psi authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    a504159 View commit details
    Browse the repository at this point in the history
  8. Warn instead of failing when renaming metrics using metric_relabel_co…

    …nfigs (open-telemetry#25888)
    
    **Description:**
    
    Fixes
    open-telemetry#5001
    
    When that issue was filed, we dropped unknown-typed metrics. Now that we
    convert them to gauges, users may want to use metric_relabel_configs to
    rename metrics, even if they lose metadata. In the future, we have other
    enhancements planned to better-support unknown-typed metrics.
    
    Change the error to a warning. It is still likely not a best practice to
    use relabel configs for this purpose, but for users copy-pasting
    prometheus configs, it is best not to fail if we can help it.
    dashpole authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    3a40682 View commit details
    Browse the repository at this point in the history
  9. [chore][cmd/oteltestbedcol] Skip linting generated code (open-telemet…

    …ry#27884)
    
    **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.-->
    Same idea as open-telemetry#27865, remove generated code from being linted. The linter
    is taking longer and longer to run as more components and dependencies
    are added. This change is to remove unnecessary modules from being
    linted, which will help reduce runtime and resources required.
    
    **Link to tracking Issue:** <Issue number if applicable>
    Related open-telemetry#27850
    crobert-1 authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    1f49a72 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0a68806 View commit details
    Browse the repository at this point in the history
  11. [chore] fix codeowners (open-telemetry#27886)

    Some changes were made to the CODEOWNERS file without editing the
    metadata.yaml files first.
    atoulme authored Oct 20, 2023
    Configuration menu
    Copy the full SHA
    43e259f View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. [chore][exporter/datadogexporter] use errors.Join instead of go.uber.…

    …org/multierr (open-telemetry#27888)
    
    **Description:** 
    use errors.Join instead of go.uber.org/multierr
    
    **Link to tracking Issue:** <Issue number if applicable>
    open-telemetry#25121 
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    bagmeg authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    e027722 View commit details
    Browse the repository at this point in the history
  2. [exporter/elasticsearch] add missing scope info in span/log attributes (

    open-telemetry#27288)
    
    **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.-->
    
    **Link to tracking Issue:**
    open-telemetry#27282
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    
    ---------
    
    Signed-off-by: Jared Tan <[email protected]>
    Signed-off-by: Dominik Rosiek <[email protected]>
    Signed-off-by: Raphael Silva <[email protected]>
    Signed-off-by: Alex Boten <[email protected]>
    Signed-off-by: Pavol Loffay <[email protected]>
    Co-authored-by: Antoine Toulme <[email protected]>
    Co-authored-by: Raj Nishtala <[email protected]>
    Co-authored-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Povilas Versockas <[email protected]>
    Co-authored-by: Priyanshu Raj <[email protected]>
    Co-authored-by: sakulali <[email protected]>
    Co-authored-by: Raphael Philipe Mendes da Silva <[email protected]>
    Co-authored-by: Anthony Mirabella <[email protected]>
    Co-authored-by: Yotam loewenbach <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>
    Co-authored-by: bryan-aguilar <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Jina Jain <[email protected]>
    Co-authored-by: Yang Song <[email protected]>
    Co-authored-by: Dmitrii Anoshin <[email protected]>
    Co-authored-by: Curtis Robert <[email protected]>
    Co-authored-by: Abhishek Saharn <[email protected]>
    Co-authored-by: Ramachandran A G <[email protected]>
    Co-authored-by: Ziqi Zhao <[email protected]>
    Co-authored-by: Ramachandran A G <[email protected]>
    Co-authored-by: Faith Chikwekwe <[email protected]>
    Co-authored-by: Tyler Helmuth <[email protected]>
    Co-authored-by: Daniel Kuiper <[email protected]>
    Co-authored-by: Carlos Castro <[email protected]>
    Co-authored-by: Christian <[email protected]>
    Co-authored-by: ArchangelSDY <[email protected]>
    Co-authored-by: Pavol Loffay <[email protected]>
    Co-authored-by: Paulo Janotti <[email protected]>
    Co-authored-by: Nathan Burke <[email protected]>
    Co-authored-by: VihasMakwana <[email protected]>
    Co-authored-by: shalper2 <[email protected]>
    Co-authored-by: OpenTelemetry Bot <[email protected]>
    Co-authored-by: Martin Majlis <[email protected]>
    Co-authored-by: hovavza <[email protected]>
    Configuration menu
    Copy the full SHA
    98da843 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    446448d View commit details
    Browse the repository at this point in the history
  4. [chore][pkg/stanza] Use variadic arg in test expectation (open-teleme…

    …try#28206)
    
    This PR just streamlines some test code.
    djaglowski authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    93cde30 View commit details
    Browse the repository at this point in the history
  5. [chore][pkg/stanaza] Fix and strengthen test case (open-telemetry#28228)

    Follows:
    open-telemetry#28206
    
    This PR fixes a setup problem with a particular test and further
    enhances it to make it more robust.
    
    The problem was that it restarts a single operator, which is not
    strictly supported behavior. Instead, a new operator should be created
    from the same config.
    
    The test involves moving a file and then validating that a log written
    to the original file location is read correctly. This enhances the test
    to also validate that additional logs written to the original (moved)
    file will be read as well.
    djaglowski authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    ac5407c View commit details
    Browse the repository at this point in the history
  6. [chore] bump core v0.88.0 (open-telemetry#28461)

    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    d83a322 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. [extension/encodingextension] Introduce zipkin encoding extension. (o…

    …pen-telemetry#27877)
    
    Introduce zipkin encoding extension.
    For more context, see
    open-telemetry#27564
    dao-jun authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    4241ab5 View commit details
    Browse the repository at this point in the history
  2. [pkg/ottl] Fix issue with named parameter spacing (open-telemetry#28511)

    **Description:** 
    Fixes an issue with the grammar where named parameters had to have a
    space after the `=`.
    
    **Link to tracking Issue:**
    Closes
    open-telemetry#27638
    
    **Testing:** 
    Added a new unit test
    TylerHelmuth authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    501ef10 View commit details
    Browse the repository at this point in the history
  3. [chore][pkg/stanza] Ensure all start/stop calls in are balanced (open…

    …-telemetry#28294)
    
    Follows
    open-telemetry#28228
    
    This normalizes calls to `Start` and `Stop` across the test suite. 
    
    In some cases, `poll` is called directly in order to trigger behavior
    independently of timing. However, we should _either_ use `poll`
    directly, or use both `Start` and `Stop` exactly once. In the future, I
    expect `poll` will be exported and tested directly as part of an
    internal package.
    djaglowski authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    cde5da6 View commit details
    Browse the repository at this point in the history
  4. [chore][pkg/stanza] Merge roller into fileconsumer.Manager (open-tele…

    …metry#28451)
    
    Follows open-telemetry#28419
    
    This discards the separate "roller" and implements the same
    functionality directly in `fileconsumer.Manager`.
    
    The motivation for this is to move towards a system of managing files
    where each file is managed by only one list at a time. This PR retains
    two overlapping slices of readers (`previousPollFiles` and
    `knownFiles`), but the functionality does not change. open-telemetry#27823 should get
    us the rest of the way there.
    djaglowski authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    d4016fa View commit details
    Browse the repository at this point in the history
  5. [chore] Prepare release 0.88.0 (open-telemetry#28562)

    The following commands were run to prepare this release:
    - make chlog-update VERSION=v0.88.0
    - sed -i.bak s/0.87.0/0.88.0/g versions.yaml
    - make multimod-prerelease
    - make multimod-sync
    opentelemetrybot authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    eda24a8 View commit details
    Browse the repository at this point in the history
  6. Added documentation to describe how to use with AAD Auth Proxy (open-…

    …telemetry#26350)
    
    **Description:** Added documentation to describe how to use the AAD Auth
    Proxy to enable AAD based authentication.
    
    **Link to tracking Issue:** 24451
    
    **Testing:** None - documentation change.
    
    **Documentation:** New AUTHENTICATION.md page describing how to
    configure the Exporter and the Auth Proxy to work together.
    codesmon authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    3edf244 View commit details
    Browse the repository at this point in the history
  7. [servicegraphconnector] Add flush interval config (open-telemetry#27879)

    **Description:** Add a config option to periodically flush metrics,
    instead of flushing on every push.
    
    **Link to tracking Issue:** <Issue number if applicable> open-telemetry#27679
    
    **Testing:** <Describe what testing was performed and which tests were
    added.> Added tests that verify metrics are flushed asynchronously
    
    **Documentation:** <Describe the documentation added.> Documentation
    added to `config.go`
    
    ---------
    
    Co-authored-by: Juraci Paixão Kröhling <[email protected]>
    mapno and jpkrohling authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    3a27029 View commit details
    Browse the repository at this point in the history
  8. [headerssetter] Remove "Limitations" section from README. (open-telem…

    …etry#27465)
    
    The docs for the `headers_setter` extension state that the
    `from_context` config option does not work if the batch processor is
    used. I believe this comment is out of date, because it seems that the
    [PR](open-telemetry/opentelemetry-collector#7578)
    linked to the
    [issue](open-telemetry/opentelemetry-collector#4544)
    has been merged. Note that I haven't tested that this actually works
    with the header setter extension. Please let me know if you think
    testing is necessary.
    
    Co-authored-by: Juraci Paixão Kröhling <[email protected]>
    ptodev and jpkrohling authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    d50e094 View commit details
    Browse the repository at this point in the history
  9. [k8sclusterreceiver] add k8s.node.condition metric (open-telemetry#27838

    )
    
    **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.-->
    
    Add new k8s.node.condition metric, so that we can deprecate
    k8s.node.condition_* metrics.
    
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    
    open-telemetry#27617
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    - added unit tests
    
    **Documentation:** <Describe the documentation added.>
    
    - added docs
    povilasv authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    67fcaad View commit details
    Browse the repository at this point in the history
  10. [servicegraphprocessor, servicegraphconnector] Measure latency in sec…

    …onds instead of milliseconds (open-telemetry#27665)
    
    **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.-->
    
    Measures latency in seconds instead of milliseconds, as the metric name
    indicates. Previously, milliseconds was used. This unit is still
    available via the feature gate
    `processor.servicegraph.legacyLatencyUnitMs`.
    
    This is a breaking change.
    
    **Link to tracking Issue:** <Issue number if applicable>  open-telemetry#27488
    
    **Testing:** <Describe what testing was performed and which tests were
    added.> Tests are updated
    
    **Documentation:** <Describe the documentation added.>
    
    ---------
    
    Co-authored-by: Curtis Robert <[email protected]>
    Co-authored-by: Juraci Paixão Kröhling <[email protected]>
    3 people authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    c9f1865 View commit details
    Browse the repository at this point in the history
  11. [cmd/telemetrygen] Remove remaining replace statement (open-telemetry…

    …#28565)
    
    **Description:** open-telemetry#27878 was not enough to fix `go install`, this should
    fix it.
    
    **Link to tracking Issue:** Fixes open-telemetry#27855
    mx-psi authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    85fba96 View commit details
    Browse the repository at this point in the history
  12. [receiver/windowseventlog] Add Execution and Security information to …

    …parsed event log (open-telemetry#27864)
    
    **Description:**
    Adds parsing for Execution and Security sections of the event log, as
    defined in the schema here:
    https://learn.microsoft.com/en-us/windows/win32/wes/eventschema-systempropertiestype-complextype
    
    **Link to tracking Issue:** open-telemetry#27810
    
    **Testing:**
    * Added some unit tests
    * Tested on a windows machine to make sure it parsed correctly on a real
    system
    
    ---------
    
    Co-authored-by: Paulo Janotti <[email protected]>
    BinaryFissionGames and pjanotti authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    a8531c0 View commit details
    Browse the repository at this point in the history
  13. [examples/demo] Use most recent Docker image (open-telemetry#28566)

    **Description:** 
    
    Bumps image to latest released version to have the `debug` exporter
    available.
    
    **Link to tracking Issue:** Fixes open-telemetry#28553
    mx-psi authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    f7e57f9 View commit details
    Browse the repository at this point in the history
  14. [pkg/ottl] Expose component.TelemetrySettings to OTTL path parsers so…

    … that the component's logger is available to contexts (open-telemetry#27660)
    
    **Description:** <Describe what has changed.>
    Passes `component.TelemetrySettings` to all path parsers so that they
    can pass the component's logger down to current/future contexts'
    getters/setters
    
    **Link to tracking Issue:** open-telemetry#22076
    
    **Testing:** N/A, i'm assuming a successful compile and tests passing
    are sufficient
    
    **Documentation:** N/A
    
    Co-authored-by: Tyler Helmuth <[email protected]>
    swar8080 and TylerHelmuth authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    f927e31 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ce44490 View commit details
    Browse the repository at this point in the history
  16. Merge pull request open-telemetry#28576 from open-telemetry/release/v…

    …0.88.x
    
    Merge release/v0.88.x branch into main
    Alex Boten authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    4bd587e View commit details
    Browse the repository at this point in the history
  17. [chore][pkg/stanza] Fix tests which leave files open (open-telemetry#…

    …28569)
    
    `fileconsumer.Manager.poll` leaves files open so that the next poll
    cycle can use them. In tests, the direct use of this function should be
    accompanied by explicit action to clean up the files.
    djaglowski authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    7daa7a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. [chore] dependabot updates Tue Oct 24 15:25:38 UTC 2023 (open-telemet…

    …ry#28572)
    
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/IBM/sarama from 1.41.2 to 1.41.3 in
    /exporter/kafkaexporter
    Bump github.com/IBM/sarama from 1.41.2 to 1.41.3 in
    /receiver/kafkareceiver
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.1 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.1 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.1 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.1 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.1 in
    /receiver/awsxrayreceiver
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.45.26 to 1.46.2 in
    /receiver/awsxrayreceiver
    Bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.19.2 to 1.20.0
    in /exporter/awskinesisexporter
    Bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 in
    /exporter/prometheusremotewriteexporter
    Bump github.com/golangci/golangci-lint from 1.54.1 to 1.55.0 in
    /internal/tools
    Bump github.com/klauspost/compress from 1.17.1 to 1.17.2 in
    /exporter/fileexporter
    Bump github.com/klauspost/compress from 1.17.1 to 1.17.2 in
    /exporter/sapmexporter
    Bump github.com/prometheus/common from 0.44.0 to 0.45.0 in
    /exporter/prometheusexporter
    Bump github.com/prometheus/common from 0.44.0 to 0.45.0 in /testbed
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.767 to 1.0.772 in /exporter/tencentcloudlogserviceexporter
    Bump github.com/wavefronthq/wavefront-sdk-go from 0.14.0 to 0.15.0 in
    /exporter/tanzuobservabilityexporter
    Bump go.opentelemetry.io/collector/component from
    0.87.1-0.20231023033326-37116a25be8d to 0.88.0 in
    /receiver/awsxrayreceiver
    Bump go.opentelemetry.io/collector/processor from
    0.87.1-0.20231023033326-37116a25be8d to 0.88.0 in
    /processor/logstransformprocessor
    Bump google.golang.org/api from 0.147.0 to 0.148.0 in
    /exporter/f5cloudexporter
    Bump google.golang.org/api from 0.147.0 to 0.148.0 in
    /receiver/googlecloudpubsubreceiver
    Bump google.golang.org/api from 0.147.0 to 0.148.0 in
    /receiver/googlecloudspannerreceiver
    Bump google.golang.org/grpc from 1.58.3 to 1.59.0 in
    /examples/demo/client
    Bump k8s.io/api from 0.28.2 to 0.28.3 in /extension/observer/k8sobserver
    Bump k8s.io/api from 0.28.2 to 0.28.3 in /internal/aws/k8s
    Bump k8s.io/api from 0.28.2 to 0.28.3 in /internal/metadataproviders
    Bump k8s.io/api from 0.28.2 to 0.28.3 in
    /processor/k8sattributesprocessor
    Bump k8s.io/apimachinery from 0.28.2 to 0.28.3 in
    /exporter/datadogexporter
    Bump k8s.io/apimachinery from 0.28.2 to 0.28.3 in
    /extension/observer/k8sobserver
    Bump k8s.io/apimachinery from 0.28.2 to 0.28.3 in /internal/aws/k8s
    Bump k8s.io/apimachinery from 0.28.2 to 0.28.3 in /internal/k8sconfig
    Bump k8s.io/apimachinery from 0.28.2 to 0.28.3 in
    /internal/metadataproviders
    Bump k8s.io/apimachinery from 0.28.2 to 0.28.3 in
    /receiver/kubeletstatsreceiver
    Bump k8s.io/client-go from 0.28.2 to 0.28.3 in
    /extension/observer/k8sobserver
    Bump k8s.io/client-go from 0.28.2 to 0.28.3 in /internal/aws/k8s
    Bump k8s.io/client-go from 0.28.2 to 0.28.3 in /internal/k8sconfig
    Bump k8s.io/client-go from 0.28.2 to 0.28.3 in /internal/kubelet
    Bump k8s.io/client-go from 0.28.2 to 0.28.3 in
    /internal/metadataproviders
    Bump k8s.io/client-go from 0.28.2 to 0.28.3 in
    /processor/k8sattributesprocessor
    Bump sigs.k8s.io/controller-runtime from 0.16.2 to 0.16.3 in
    /exporter/loadbalancingexporter
    
    ---------
    
    Signed-off-by: Alex Boten <[email protected]>
    Co-authored-by: Alex Boten <[email protected]>
    opentelemetrybot and Alex Boten authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    d152a93 View commit details
    Browse the repository at this point in the history
  2. [chore] dependabot updates Wed Oct 25 05:13:14 UTC 2023 (open-telemet…

    …ry#28611)
    
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.46.2 to 1.46.3 in
    /receiver/awsxrayreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.767 to 1.0.772 in /exporter/tencentcloudlogserviceexporter
    Bump go.opentelemetry.io/collector/component from
    0.87.1-0.20231023033326-37116a25be8d to 0.88.0 in
    /receiver/awsxrayreceiver
    Bump k8s.io/apimachinery from 0.28.2 to 0.28.3 in
    /receiver/kubeletstatsreceiver
    opentelemetrybot authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    d2ed99b View commit details
    Browse the repository at this point in the history
  3. [pkg/translator/azure] New component for translating from Azure nativ…

    …e formats (open-telemetry#25096)
    
    **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.-->
    Adding a Translator to convert from Azure Resource Log format (for now)
    to OTel.
    
    **Link to tracking Issue:** <Issue number if applicable>
    open-telemetry#18210
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Performed manual validation testing between Event Hubs and OTel and
    added unit tests to cover new use case to allow multiple resources to be
    included in a batch. Existing tests moved to new package.
    
    **Documentation:** <Describe the documentation added.>
    None was necessary as this format is already supported by the Event Hub
    Receiver.
    cparkins authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    baf4cce View commit details
    Browse the repository at this point in the history
  4. Fix TestGettingTrackingData flakiness (open-telemetry#27927)

    **Description:**
    Fix flakiness in the
    `TestGettingTrackingData/Timeout_waiting_for_response` test. The root
    cause of the issue is that the `client` and `server` are connected to
    same pipe and if the server attempts to read after the client is closed
    it reports error EOF and the test code expects no error from the read
    operation. The issue is not specific to Windows. The fix was to give
    control to each test case of the read and write functions so this type
    of synchronization issue can be properly handled while keeping the test
    code coverage.
    
    **Link to tracking Issue:**
    Fix open-telemetry#25188
    
    **Testing:**
    Multiple local runs with various cpu settings.
    
    **Documentation:** N/A
    
    Co-authored-by: Alex Boten <[email protected]>
    pjanotti and Alex Boten authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    7a08a6f View commit details
    Browse the repository at this point in the history
  5. [chore][pkg/stanza] Allow trie to store a value (open-telemetry#28592)

    This PR enhances the internal `trie` struct (which is not yet in use
    anywhere in the codebase) such that a node may contain any value.
    
    The motivation for this is that I believe we may soon be able to migrate
    `knownFiles` and `previousPollFiles` to tries, which will prove out the
    functionality of the trie and also should improve efficiency of the
    package overall.
    djaglowski authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    5762219 View commit details
    Browse the repository at this point in the history
  6. [chore][pkg/stanza] Skip persister operations if nil (open-telemetry#…

    …28580)
    
    Although the persister is generally expected, we can easily protect
    against cases where it is not provided and save some work as well. This
    becomes more important with open-telemetry#27823 which interacts with the persister
    during the Stop function.
    djaglowski authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    38d5bd6 View commit details
    Browse the repository at this point in the history
  7. [chore][exporter/opensearchexporter] use errors.Join instead of go.ub…

    …er.org/multierr (open-telemetry#27908)
    
    **Description:** <Describe what has changed.>
    use errors.Join instead of go.uber.org/multierr
    
    **Link to tracking Issue:** <Issue number if applicable>
    open-telemetry#25121 
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    bagmeg authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    8a95aad View commit details
    Browse the repository at this point in the history
  8. [exporter/datadog] Add config trace_buffer (open-telemetry#28582)

    **Description:**
    Add a new traces config `trace_buffer` that specifies the number of
    Datadog Agent TracerPayloads to buffer before dropping.
    
    **Link to tracking Issue:**
    Fixes open-telemetry#28577
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    songy23 authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    6df57dc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8a33109 View commit details
    Browse the repository at this point in the history
  10. [chore] fix typo in makefile (open-telemetry#28624)

    mulitmod -> multimod
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    5e285f0 View commit details
    Browse the repository at this point in the history
  11. [chore] Add definition for documentation label (open-telemetry#27628)

    We see a lot of issues opened that are related to collector usability.
    As shared in open-telemetry#27546, documentation can often be added to help clear up
    confusion, or provide relevant information. We can use the
    `documentation` label for this going forward.
    
    Resolves open-telemetry#27456
    
    ---------
    
    Co-authored-by: bryan-aguilar <[email protected]>
    crobert-1 and bryan-aguilar authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    604878e View commit details
    Browse the repository at this point in the history
  12. [chore] clean up from last release (open-telemetry#28632)

    It looks like this change was missed in a couple of releases.
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    c5b02ad View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a3cfb27 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. [receiver/dockerstats] remove deprecated container.cpu.percent and co…

    …mplete the transition to container.cpu.utilization (open-telemetry#27795)
    
    **Description:** <Describe what has changed.>
    
    Following up open-telemetry#24183, this PR removes the deprecated
    `container.cpu.percent` metric as explained in README's [deprecation
    section](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/dockerstatsreceiver#transition-to-cpu-utilization-metric-name-aligned-with-opentelemetry-specification).
    
    **Link to tracking Issue:** open-telemetry#21807
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    ```
    ❯ go test -race -timeout 300s -parallel 4 --tags="" ./... -count 1
    ok      github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver  1.480s
    ok      github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver/internal/metadata        1.525s
    ```
    
    **Documentation:** the documentation has been updated using `mdatagen`
    
    ---------
    
    Co-authored-by: Pablo Baeyens <[email protected]>
    sigilioso and mx-psi authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    8d44ea8 View commit details
    Browse the repository at this point in the history
  2. [chore][exporter/datadog] Add integration tests (open-telemetry#28396)

    **Description:** <Describe what has changed.>
    
    Add an integration tests to datadog exporter that:
    1. Use the mock server in datadog exporter testutil as the backend
    2. Starts a collector with otlp receiver, datadog connector, tail
    sampling processor, datadog exporter. Have datadog exporter send data to
    the mock server
    3. Generate and send 10 spans to collector, 5 of which are expected to
    be sampled by tail sampling processor
    4. Verify the mock server receives 5 traces (sampled) + APM stats on all
    10 traces pre-sampled
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    songy23 authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    fd9efcf View commit details
    Browse the repository at this point in the history
  3. tailsamplingprocessor: Optimize tag mutator memory allocations (open-…

    …telemetry#27889)
    
    **Description:**
    
    Since each `tailSamplingSpanProcessor`'s instance is not concurrently
    called by the ticker worker (it's a 1-to-1 relationship) we can safely
    reuse a slice for the tag mutators used in `makeDecision`. Additionally
    the tag mutators themselves were causing a lot of allocations and since
    they are static, we created constants for them preventing allocations on
    each execution of `makeDecision`.
    
    This improved the `makeDecision` benchmark by ~31%.
    
    ```
    benchstat old.txt new.txt
    name         old time/op  new time/op  delta
    Sampling-10  51.8µs ± 1%  35.7µs ± 1%  -30.94%  (p=0.008 n=5+5)
    ```
    
    **Testing:** Unit tests unchanged; added a benchmark
    
    **Documentation:** Perf improvement so no documentation changes needed.
    
    This was all based on production profiling data at Polar Signals running
    the collector. Here is a snapshot of the original profiling data we
    started with: https://pprof.me/52a7fab/
    
    Judging by the production profiling data, a 31% improvement on the
    `makeDecision` codepath, should translate roughly into a 6% baseline CPU
    improvement our production deployment of the opentelemetry collector.
    
    The profiling data after improving: https://pprof.me/58c0e84/
    
    This improvement was done as part of the Let's Profile Livestream where
    we optimize popular open-source projects live:
    https://www.youtube.com/watch?v=vkMQRjiNTHM
    
    ---------
    
    Co-authored-by: Jiekun <[email protected]>
    brancz and Jiekun authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    acae6fe View commit details
    Browse the repository at this point in the history
  4. [exporter/loki] Don't auto-promote tenant attribute (open-telemetry#2…

    …7446)
    
    Fixes open-telemetry#21045
    
    Signed-off-by: Juraci Paixão Kröhling <[email protected]>
    
    ---------
    
    Signed-off-by: Juraci Paixão Kröhling <[email protected]>
    jpkrohling authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    db1c463 View commit details
    Browse the repository at this point in the history
  5. [chore] Update Azure Event Hub Receiver Documentation (open-telemetry…

    …#28623)
    
    **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 Documentation surrounding Azure Event Hub Metric creation is
    out-of-date or not accurate.
    
    **Link to tracking Issue:** <Issue number if applicable>
    
    open-telemetry#28622
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    No code was modified, only documentation.
    
    **Documentation:** <Describe the documentation added.>
    Updated the README.md in reciever/azureeventhub to be more accurate and
    improved the Metric mapping table to be consistent with the Log section.
    cparkins authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    14d6d67 View commit details
    Browse the repository at this point in the history
  6. [receiver/azureeventhub] Set Consumer Group by Configuration (open-te…

    …lemetry#28634)
    
    **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.-->
    Allow the Consumer Group to be set in the Configuration.
    
    **Link to tracking Issue:** <Issue number if applicable>
    [open-telemetry#28633]
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Locally tested and verified. No unit testing added.
    
    **Documentation:** <Describe the documentation added.>
    New configuration option added to README.
    cparkins authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    2816252 View commit details
    Browse the repository at this point in the history
  7. Update README.md, fix receiver OTLP instead of bad naming OLTP in the… (

    open-telemetry#28637)
    
    Fixed a typo in README.md, in the example:
    
    **Before:**
    traces/in:
          receivers: [_**oltp**_]
          exporters: [routing]
    
    **After:**
    traces/in:
          receivers: [_**otlp**_]
          exporters: [routing]
    jpizquierdo authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    1750159 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    397dbe6 View commit details
    Browse the repository at this point in the history
  9. OpAMP Agent Extension (open-telemetry#16594)

    See [design
    document](https://docs.google.com/document/d/1KtH5atZQUs9Achbce6LiOaJxLbksNJenvgvyKLsJrkc/edit#heading=h.ioikt02qpy5f).
    
    Depends on:
    
    - [Implement ability for extensions to be notified about effective
    configuration opentelemetry-collector#6596](open-telemetry/opentelemetry-collector#6596)
    - [Make service.instance.id and other telemetry attributes available to
    extensions opentelemetry-collector#6599](open-telemetry/opentelemetry-collector#6599)
    
    Closes
    open-telemetry#16618
    
    ---------
    
    Signed-off-by: Sean Porter <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Tigran Najaryan <[email protected]>
    3 people authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    8a4c306 View commit details
    Browse the repository at this point in the history
  10. [exporter/kafka] do not expose method (open-telemetry#27583)

    Do not export function WithTracesMarshalers, WithMetricsMarshalers,
    WithLogsMarshalers and pass checkapi
    
    open-telemetry#26304
    
    **Testing:** 
    go run cmd/checkapi/main.go .
    make chlog-validate
    go test for kafkaexporter
    
    
    Co-authored-by: Alex Boten <[email protected]>
    sakulali and Alex Boten authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    a72128b View commit details
    Browse the repository at this point in the history
  11. Remove duplicated 'compression' documentation from googlecloudexporte…

    …r readme (open-telemetry#28643)
    
    The `compression` metric option appears more than once in the readme for
    the googlecloudexporter exporter, so I've deleted one of the copies. The
    first copy has more detail, so I preserved that one.
    nzbart authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    cf5abbb View commit details
    Browse the repository at this point in the history
  12. Removed myself as code owner for bearertokenauth and added myself as …

    …emeritus (open-telemetry#28645)
    
    Removed myself as code owner for bearertokenauth and added myself as
    emeritus cc: @jpkrohling @frzifus @atoulme atoulme
    pavankrish123 authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    0cd2a98 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. [pkg/translator/azure] Decode "incorrect" JSON without failing comple…

    …tely (open-telemetry#28650)
    
    **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.-->
    When decoding from Azure Resource Log format to OTel if a numeric field
    is represented without quotes the data will not be decoded and will fail
    silently.
    
    **Link to tracking Issue:** <Issue number if applicable>
    open-telemetry#28648 
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    Invalid data captured from Azure Diagnostic Setting and used to create a
    unit test. Then data was reprocessed with the Event Hubs Receiver.
    
    **Documentation:** <Describe the documentation added.>
    None required as this was a bug within the code.
    cparkins authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    27a86e4 View commit details
    Browse the repository at this point in the history
  2. [chore] make the collector module version script output a git diff (o…

    …pen-telemetry#27898)
    
    The current behavior consists in exiting early on the first difference
    found.
    
    This approach continues to look at all changes, and only exits after
    outputting a git diff of all the changes.
    atoulme authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    a23ae4b View commit details
    Browse the repository at this point in the history
  3. [exporter/splunkhecexporter] Adding splunkhecexporter integration tes…

    …ts (open-telemetry#23637)
    
    **Description:**
    Add a test suite to the opentelemetry-contrib repository that checks the
    behavior of the HEC exporter against a Splunk Enterprise instance.
    pszkamruk-splunk authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    c9b9e19 View commit details
    Browse the repository at this point in the history
  4. [receiver/splunkhec] Fix the double encoding of JSON responses (open-…

    …telemetry#27606)
    
    **Description:**
    We would double-encode JSON objects as strings. We typically have
    encoded strings as JSON strings as static responses to issues
    encountered during data processing. Along the way, we adopted JSON
    objects to match the Splunk Enterprise API. However, we didn't stop
    encoding as JSON strings, resulting in double encoded JSON strings.
    
    **Link to tracking Issue:**
    Fixes open-telemetry#27604 
    
    **Testing:**
    Unit test changes.
    atoulme authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7772e02 View commit details
    Browse the repository at this point in the history
  5. [exporter/opensearch] Send logs to Opensearch (open-telemetry#26475)

    ## 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.-->
    Implementation of exporter to OpenSearch using opensearch-go library. As
    of now, this PR was heavily inspired by
    https://github.com/dbason/opentelemetry-collector-contrib/tree/opensearch-exporter/exporter/opensearchexporter.
    
    By default, requests sent adhere to the OpenSearch Catalog [schema for
    logs](https://github.com/opensearch-project/opensearch-catalog/tree/main/schema/observability/logs),
    but allows users to export using the Elastic Common Schema as well.
    
    This PR also:
    - enables users to define the `bulk_action` between `create` and `index`
    - enables users to define the logs index without necessarily adhering to
    the new [index naming
    conventions](opensearch-project/observability#1405)
    through the `LogsIndex` config.
    
    ## Tracking Issue: 
    
    
    [23611](open-telemetry#23611)
    
    ## Testing: <Describe what testing was performed and which tests were
    added.>
    
    ### Integration
    - Successful round-trip to HTTP endpoint,
    - Permanent error during round-trip,
    - Retryable error response for first request, followed by successful
    response on retry,
    - Two retriable error responses, followed by successful response on
    second retry.
    
    ### Manual
    - Authentication using `configtls.TLSSetting` (`ca_file`, `cert_file`,
    `key_file`)
    - Tested in EKS and K3s clusters running
    [opni](https://github.com/rancher/opni).
    
    ---------
    
    Signed-off-by: João Henri <[email protected]>
    Signed-off-by: João Henri <[email protected]>
    jaehnri authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e8b0e2a View commit details
    Browse the repository at this point in the history
  6. [pkg/stanza][receiver/windowseventlog] Improve EventDataType support …

    …in EventXML (Windows) (open-telemetry#28587)
    
    **Description:**
    The [XML schema for Windows events supports `Data` elements without the
    `Name`
    attribute](https://learn.microsoft.com/en-us/windows/win32/wes/eventschema-datafieldtype-complextype),
    however, the current implementation doesn't capture `Data` elements
    without the `Name` attribute.
    
    Capturing such elements is specially important for events for which the
    publisher metadata is invalid. These elements contain the data that will
    give a user a much better chance of actually understanding the event,
    see
    [here](open-telemetry#21491 (comment))
    for an example.
    
    I'm adding also the optional `Binary` element. Although this element
    typically requires knowledge of the actual data type it is representing
    sometimes it can be useful together with the data elements.
    
    I consider this to be a breaking change because it modifies the layout
    of the event generated by the package. It isn't an addition, the old
    representation is changed, please refer to the changes in tests to see
    the difference.
    
    **Link to tracking Issue:**
    This is the last pending item to fix open-telemetry#24493, open-telemetry#21491 ([item
    5](open-telemetry#21491)).
    
    **Testing:**
    - Local run of the affected receiver and package
    - "Run Windows" on my fork
    
    **Documentation:**
    N/A
    
    ---------
    
    Co-authored-by: Daniel Jaglowski <[email protected]>
    pjanotti and djaglowski authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5b36953 View commit details
    Browse the repository at this point in the history
  7. [pdatatest] allow partial matching of resource and metric attributes …

    …via regular expression (open-telemetry#28654)
    
    **Description:**
    Allow to compare metrics resource attributes or metric attribute values
    by matching on a portion of the dimension value with a regular
    expression.
    
    **Link to tracking Issue:**
    Fixes open-telemetry#27690
    
    **Testing:**
    Unit tests.
    atoulme authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    a5323a1 View commit details
    Browse the repository at this point in the history
  8. [pkg/golden] internal/coreinternal/golden -> pkg/golden (open-telemet…

    …ry#28636)
    
    **Description:**
    Move the golden package to pkg/golden so it can be available to
    downstream projects.
    
    **Link to tracking Issue:**
    Fixes open-telemetry#28594
    
    ---------
    
    Co-authored-by: Daniel Jaglowski <[email protected]>
    atoulme and djaglowski authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    cd92432 View commit details
    Browse the repository at this point in the history
  9. [pkg/stanza] Overhaul reader management (open-telemetry#27823)

    - Change `knownFiles` to `[]*reader.Metadata`. No files are held here.
    - Introduce new `previousPollReaders` list, which holds open files from
    the previous poll interval. If for any reason a file is closed, it
    should immediately be removed from the list and its metadata should be
    added to `knownFiles`.
    - Introduce notion that each `reader.Metadata` should be treated as a
    singleton. When a reader is closed, it pops out its `Metadata` so it can
    be appended to `knownFiles`.
    djaglowski authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    599c3b1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1f646ab View commit details
    Browse the repository at this point in the history
  11. [chore] remove replace statements for cloud.google.com/go (open-telem…

    …etry#28652)
    
    Updating core to bring in the new builder, which no longer uses a
    replace in its template
    (open-telemetry/opentelemetry-collector#8763)
    
    ---------
    
    Signed-off-by: Alex Boten <[email protected]>
    Alex Boten authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    40737e0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c5024ed View commit details
    Browse the repository at this point in the history
  13. [chore] remove unused github script (open-telemetry#28656)

    git grep points out that this script is not used anywhere.
    atoulme authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    d48b7e6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9685d4b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e59b272 View commit details
    Browse the repository at this point in the history
  16. [extension/encodingextension] Introduce OTLP encoding extension (open…

    …-telemetry#27875)
    
    Introduce OTLP encoding extension.
    For more context, see
    open-telemetry#27564
    dao-jun authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    0e31b6c View commit details
    Browse the repository at this point in the history
  17. [chore][processor/resourcedetection] Fix dead links in README (open-t…

    …elemetry#28669)
    
    There are a number of links in the resource detection processor's README
    that are pointing to the old spec repo. This was causing `check-links`
    to fail.
    crobert-1 authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    511b04b View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. [extension/encoding] Rename for consistency with storage extensions (o…

    …pen-telemetry#28673)
    
    Rename encoding extensions for consistency with storage extensions:
    `db_storage` and `file_storage`.
    dmitryax authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    76ab912 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5de9937 View commit details
    Browse the repository at this point in the history
  3. Initial contribution of remote tap extension (open-telemetry#27477)

    **Description:**
    Adds the basis of a new extension, the remote ~observer~ tap extension,
    to be used to display the contents of the data observed via remote
    observer processors.
    
    This PR deals only with the structure and required files related to the
    extension.
    
    **Link to tracking Issue:**
    open-telemetry#19634
    
    **Testing:**
    N/A
    
    **Documentation:**
    README
    
    ---------
    
    Co-authored-by: Pablo Collins <[email protected]>
    atoulme and pmcollins authored Oct 28, 2023
    Configuration menu
    Copy the full SHA
    f8cbcc2 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. [exporter/clickhouse]: Add persistent queue support (open-telemetry#2…

    …8579)
    
    Addresses open-telemetry#27653.
    
    **Description:**
    Added persistent storage queue support by leveraging default
    `exporthelper.QueueSettings` config structure.
    
    **NOTE** This does end up being a **breaking** change to the API.
    fredthomsen authored Oct 29, 2023
    Configuration menu
    Copy the full SHA
    3d94380 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. [exporter/syslog] send syslog messages in batches (open-telemetry#27799)

    **Description:**
    
    This changes the behavior of the Syslog exporter to send each batch of
    Syslog messages in a single request (with messages separated by
    newlines), instead of sending each message in a separate request and
    closing the connection after each message.
    
    The batching only happens when using TCP. For UDP, each syslog message
    is still sent in a separate request, as defined by [the
    spec](https://datatracker.ietf.org/doc/html/rfc5426#section-3.1).
    
    This also significantly refactors (and hopefully simplifies) the
    exporter's code, extracting the code that formats the syslog messages
    from the `sender` type into separate `formatter` types. Hopefully this
    will make the development of this component easier.
    
    **Link to tracking Issue:**
    
    -
    open-telemetry#21244
    
    **Testing:**
    
    The unit tests have been updated to reflect the refactored codebase. The
    integration tests introduced in
    open-telemetry#27464
    are unchanged, as the format of the output messages hasn't changed.
    
    **Documentation:**
    
    No documentation updates.
    andrzej-stencel authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    f2ec166 View commit details
    Browse the repository at this point in the history
  2. [receiver/hostmetrics/scrapers/process]: add configuration option to …

    …mute `error reading username for process` (open-telemetry#28661)
    
    **Description:**
    
    add configuration option `mute_process_user_error`) to mute `error
    reading username for process`
    
    **Link to tracking Issue:**
    
    * open-telemetry#14311
    * open-telemetry#17187
    
    Signed-off-by: Dominik Rosiek <[email protected]>
    sumo-drosiek authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    58ee30b View commit details
    Browse the repository at this point in the history
  3. [exporter/datadog] make error retryable if logs sender received nil r…

    …esponse (open-telemetry#28672)
    
    **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 Datadog exporter threats network/connectivity errors (HTTP client
    doesn't receive a response) as permanent errors, which can lead to log
    records loss. This change makes these errors retryable.
    
    **Link to tracking Issue:** open-telemetry#24550
    
    **Testing:** <Describe what testing was performed and which tests were
    added.>
    
    **Documentation:** <Describe the documentation added.>
    siarhei-kharchanka-cko authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    55afb0a View commit details
    Browse the repository at this point in the history
  4. New component: sumologicprocessor (open-telemetry#23949)

    **Description:**
    
    Adds Sumo Logic Processor
    
    The Sumo Logic processor (config name: `sumologic`)
    modifies the metadata on logs, metrics and traces sent to [Sumo
    Logic][sumologic_webpage]
    so that the Sumo Logic [apps][sumologic_apps] can make full use of the
    ingested data.
    
    [sumologic_webpage]: https://www.sumologic.com
    [sumologic_apps]: https://www.sumologic.com/applications/
    
    **Link to tracking Issue:** open-telemetry#23946
    
    **Testing:**
    
    - Unit tests
    - Component is being used by our customers
    
    **Documentation:** `README.md`
    
    ---------
    
    Signed-off-by: Dominik Rosiek <[email protected]>
    Co-authored-by: Daniel Jaglowski <[email protected]>
    Co-authored-by: Andrzej Stencel <[email protected]>
    3 people authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    e0c15a4 View commit details
    Browse the repository at this point in the history
  5. [chore] dependabot updates Mon Oct 30 16:27:48 UTC 2023 (open-telemet…

    …ry#28740)
    
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /cmd/configschema
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /cmd/otelcontribcol
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /cmd/oteltestbedcol
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /exporter/datadogexporter
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /exporter/prometheusexporter
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /exporter/splunkhecexporter
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /extension/observer/dockerobserver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /internal/coreinternal
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /internal/docker
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /internal/k8stest
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /internal/metadataproviders
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /processor/k8sattributesprocessor
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /processor/resourcedetectionprocessor
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/aerospikereceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/apachereceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/apachesparkreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/awscontainerinsightreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/bigipreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/dockerstatsreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/elasticsearchreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/flinkmetricsreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/haproxyreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/hostmetricsreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/iisreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/jmxreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/k8sclusterreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/k8sobjectsreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/kafkametricsreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/kubeletstatsreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/memcachedreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/mongodbreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/mysqlreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/nginxreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/postgresqlreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/prometheusreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/purefareceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/purefbreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/redisreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/simpleprometheusreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/snmpreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/sqlqueryreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/vcenterreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /receiver/zookeeperreceiver
    Bump github.com/docker/docker from 24.0.6+incompatible to
    24.0.7+incompatible in /testbed
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.772 to 1.0.775 in /exporter/tencentcloudlogserviceexporter
    opentelemetrybot authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    cf44195 View commit details
    Browse the repository at this point in the history
  6. [receiver/collectd] remove opencensus (open-telemetry#28657)

    use telemetry settings, don't rely on opencensus for component metrics
    
    Fixes open-telemetry#25148
    atoulme authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    114441f View commit details
    Browse the repository at this point in the history
  7. [extension/encoding] Introduce interfaces for encoding extensions (op…

    …en-telemetry#28688)
    
    **Description:** We should have explicit interfaces for the encoding
    extensions, which should be used by the receivers/exporters instead of
    marshallers and unmarshallers
    
    **Link to tracking Issue:**
    open-telemetry#28686
    dmitryax authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    bbde47c View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. [chore] dependabot updates Mon Oct 30 21:51:50 UTC 2023 (open-telemet…

    …ry#28807)
    
    Bump github.com/ClickHouse/clickhouse-go/v2 from 2.14.3 to 2.15.0 in
    /exporter/clickhouseexporter
    Bump github.com/DataDog/datadog-agent/pkg/proto from 0.48.0 to 0.48.1 in
    /exporter/datadogexporter
    Bump github.com/DataDog/datadog-agent/pkg/trace from 0.48.0 to 0.48.1 in
    /exporter/datadogexporter
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /exporter/awsemfexporter
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /exporter/awsxrayexporter
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /extension/observer/ecsobserver
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /internal/aws/awsutil
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /internal/aws/k8s
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /internal/aws/proxy
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /internal/metadataproviders
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.6 in
    /processor/resourcedetectionprocessor
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.7 in
    /exporter/datadogexporter
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.7 in
    /internal/aws/cwlogs
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.7 in
    /internal/aws/xray
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.7 in
    /internal/aws/xray/testdata/sampleapp
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.7 in
    /receiver/awscontainerinsightreceiver
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.7 in
    /receiver/awsecscontainermetricsreceiver
    Bump github.com/aws/aws-sdk-go from 1.46.3 to 1.46.7 in
    /receiver/awsxrayreceiver
    Bump github.com/aws/aws-sdk-go-v2/config from 1.19.0 to 1.19.1 in
    /exporter/awskinesisexporter
    Bump github.com/aws/aws-sdk-go-v2/config from 1.19.0 to 1.19.1 in
    /extension/sigv4authextension
    Bump github.com/bmatcuk/doublestar/v4 from 4.6.0 to 4.6.1 in /pkg/stanza
    Bump github.com/golangci/golangci-lint from 1.55.0 to 1.55.1 in
    /internal/tools
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in /cmd/configschema
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /exporter/awscloudwatchlogsexporter
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /exporter/awsemfexporter
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /exporter/awskinesisexporter
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /exporter/googlecloudpubsubexporter
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /exporter/tanzuobservabilityexporter
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in /pkg/ottl
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /processor/k8sattributesprocessor
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /processor/tailsamplingprocessor
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /receiver/awsxrayreceiver
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /receiver/k8sclusterreceiver
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /receiver/kubeletstatsreceiver
    Bump github.com/google/uuid from 1.3.1 to 1.4.0 in
    /receiver/skywalkingreceiver
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.775 to 1.0.776 in /exporter/tencentcloudlogserviceexporter
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /exporter/splunkhecexporter
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /extension/observer/dockerobserver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /internal/coreinternal
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/aerospikereceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/apachereceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/dockerstatsreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/elasticsearchreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/flinkmetricsreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/jmxreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/kafkametricsreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/memcachedreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/mongodbreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/mysqlreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/nginxreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/postgresqlreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/redisreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/sqlqueryreceiver
    Bump github.com/testcontainers/testcontainers-go from 0.25.0 to 0.26.0
    in /receiver/zookeeperreceiver
    Bump github.com/tinylib/msgp from 1.1.8 to 1.1.9 in
    /receiver/fluentforwardreceiver
    Bump github.com/vmware/govmomi from 0.32.0 to 0.33.0 in
    /receiver/vcenterreceiver
    Bump go.etcd.io/bbolt from 1.3.7 to 1.3.8 in /extension/storage
    Bump go.uber.org/goleak from 1.2.1 to 1.3.0 in
    /processor/tailsamplingprocessor
    Bump k8s.io/kubelet from 0.28.2 to 0.28.3 in
    /receiver/kubeletstatsreceiver
    opentelemetrybot authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    c50daa9 View commit details
    Browse the repository at this point in the history
  2. [processor/k8sattribute] Support adding labels and annotations from n…

    …ode (open-telemetry#28570)
    
    **Description:**
    support adding labels and annotations from the node as additional
    resource attributes on telemetry processed through the `k8sattributes`
    processor.
    
    **Link to tracking Issue:** Resolve  open-telemetry#22620
    
    ---------
    
    Co-authored-by: Tyler Helmuth <[email protected]>
    haoqixu and TylerHelmuth authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    49438fe View commit details
    Browse the repository at this point in the history
  3. [chore] dependabot updates Tue Oct 31 03:50:02 UTC 2023 (open-telemet…

    …ry#28815)
    
    Bump
    github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp
    from 1.19.1 to 1.20.0 in /exporter/datadogexporter
    Bump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common
    from 1.0.776 to 1.0.777 in /exporter/tencentcloudlogserviceexporter
    Bump github.com/vmware/govmomi from 0.33.0 to 0.33.1 in
    /receiver/vcenterreceiver
    opentelemetrybot authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    2ade7e2 View commit details
    Browse the repository at this point in the history
  4. [processor/k8sattributes] Clarify usage of k8sattributes.extract in d…

    …ocs (open-telemetry#27281)
    
    Added clarification that the labels/annotations extraction on the
    k8sattributesprocessor sits under `extract` in the config.
    
    Co-authored-by: Dmitrii Anoshin <[email protected]>
    martinjt and dmitryax authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    3afdfcf View commit details
    Browse the repository at this point in the history
  5. [receiver/hostmetrics] Fix panic in load_scraper_windows when stopping (

    open-telemetry#28678)
    
    **Description:** 
    Fix a panic when the load scraper for Windows is stopped before being
    started. This can happen when the collector fails at startup. In this
    case the components are shutdown even if they were not started. This was
    encountered in real world usage.
    
    ```terminal
    2023-10-23T13:13:23.137-0500    info    [email protected]/service.go:170  Starting shutdown...
    2023-10-23T13:13:23.138-0500    info    healthcheck/handler.go:132      Health Check state change       {"kind": "extension", "name": "health_check", "status": "unavailable"}
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal 0xc0000005 code=0x0 addr=0x0 pc=0x30c4028]
    
    goroutine 1 [running]:
    github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper.stopSampling({0x0?, 0x6000103?})
            github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected]/internal/scraper/loadscraper/load_scraper_windows.go:145 +0xc8
    github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/loadscraper.(*scraper).shutdown(...)
            github.com/open-telemetry/opentelemetry-collector-contrib/receiver/[email protected]/internal/scraper/loadscraper/load_scraper.go:78
    go.opentelemetry.io/collector/component.ShutdownFunc.Shutdown(...)
            go.opentelemetry.io/collector/[email protected]/component.go:84
    go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).Shutdown(0xc0000c3a40, {0x71b0d50, 0xc00006c0e0})
            go.opentelemetry.io/collector/[email protected]/scraperhelper/scrapercontroller.go:149 +0x97
    go.opentelemetry.io/collector/service/internal/graph.(*Graph).ShutdownAll(0x0?, {0x71b0d50, 0xc00006c0e0})
            go.opentelemetry.io/collector/[email protected]/internal/graph/graph.go:358 +0xc9
    go.opentelemetry.io/collector/service.(*Service).Shutdown(0xc0008373b0, {0x71b0d50, 0xc00006c0e0})
            go.opentelemetry.io/collector/[email protected]/service.go:176 +0xd4
    go.opentelemetry.io/collector/otelcol.(*Collector).setupConfigurationComponents(0xc000dc6180, {0x71b0d50, 0xc00006c0e0})        go.opentelemetry.io/collector/[email protected]/collector.go:187 +0x708
    go.opentelemetry.io/collector/otelcol.(*Collector).Run(0xc000dc6180, {0x71b0d50, 0xc00006c0e0})
            go.opentelemetry.io/collector/[email protected]/collector.go:221 +0x65
    go.opentelemetry.io/collector/otelcol.NewCommand.func1(0xc00229cf00, {0x6636c91?, 0x0?, 0x3?})
            go.opentelemetry.io/collector/[email protected]/command.go:27 +0x96
    github.com/spf13/cobra.(*Command).execute(0xc00229cf00, {0xc0000ac050, 0x0, 0x3})
            github.com/spf13/[email protected]/command.go:940 +0x862
    github.com/spf13/cobra.(*Command).ExecuteC(0xc00229cf00)
            github.com/spf13/[email protected]/command.go:1068 +0x3bd
    github.com/spf13/cobra.(*Command).Execute(0xc0022dd860?)
            github.com/spf13/[email protected]/command.go:992 +0x19
    main.runInteractive({{0xc0022dd860, 0xc0022ddad0, 0xc0022dda10, 0xc0022dd5f0, 0xc0022ddb00}, {{0x663630d, 0x7}, {0x0, 0x0}, {0x713fdf8, ...}}, ...})
            github.com/signalfx/splunk-otel-collector/cmd/otelcol/main.go:100 +0x5d
    main.run({{0xc0022dd860, 0xc0022ddad0, 0xc0022dda10, 0xc0022dd5f0, 0xc0022ddb00}, {{0x663630d, 0x7}, {0x0, 0x0}, {0x713fdf8, ...}}, ...})
            github.com/signalfx/splunk-otel-collector/cmd/otelcol/main_windows.go:33 +0x58
    main.main()
            github.com/signalfx/splunk-otel-collector/cmd/otelcol/main.go:93 +0xcba
    ```
    **Link to tracking Issue:**
    N/A
    
    **Testing:**
    Local test runs.
    
    **Documentation:**
    N/A
    pjanotti authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    0e08a1c View commit details
    Browse the repository at this point in the history
  6. [chore] [cmd/configschema] Update go-sqlite3 to latest version, per o…

    …pen-telemetry#19421 (open-telemetry#28680)
    
    **Description:**
    Update go-sqlite3 on cmd/configschema (same as open-telemetry#19421) to start
    re-enabling tests currently being skipped on Windows, see open-telemetry#28679.
    
    **Link to tracking Issue:**
    First part of open-telemetry#28679
    Related to open-telemetry#11451
    
    **Testing:**
    Local tests of `cmd/configschema`.
    
    **Documentation:**
    N/A
    pjanotti authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d2c2265 View commit details
    Browse the repository at this point in the history
  7. [Spanmetrics] Add events_total metric to get the measurement for list…

    … of configured event attributes for a span (open-telemetry#27811)
    
    **Description:**
    We have an events section for a span. The details for all the exceptions
    like exception.type and exception.message are recorded as Events for a
    span. Right now, we don't have a feature to add event attributes to span
    metrics.
    
    The idea of this PR is to develop a feature which adds a new metric
    `events_total` with a default set of dimensions like `service_name,
    span_name, span_kind, status_code`. We can configure to add additional
    set of dimensions like `exception.type` and `exception.message` which
    will be fetched from the Events section for a span
    
    **Link to tracking Issue:**
    [27451](open-telemetry#27451)
    
    ---------
    
    Co-authored-by: Albert <[email protected]>
    aishyandapalli and albertteoh authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    b3328a7 View commit details
    Browse the repository at this point in the history
  8. [exporter/awss3exporter] Add the ability to assume the role provided …

    …by s3uploader.role_arn (open-telemetry#28674)
    
    **Description:** <Describe what has changed.>
    
    Adding a feature - This feature allows role assumption for s3
    exportation. It is especially useful on Kubernetes clusters that are
    using [IAM roles for service
    accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html)
    
    **Testing:**
    
    Deployed to a Kubernetes cluster as well as an EC2 instance and verified
    it would assume the correct role and publish logs to the respective s3
    bucket.
    
    **Documentation:**
    
    README updated
    thomasbaldwin authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    5018ac3 View commit details
    Browse the repository at this point in the history
  9. [processor/k8sattributes] Move "k8sattr.rfc3339" feature gate to Beta (

    …open-telemetry#28817)
    
    The time format of `k8s.pod.start_time` attribute value migrated to
    RFC3339:
    Before: 2023-07-10 12:34:39.740638 -0700 PDT m=+0.020184946
    After: 2023-07-10T12:39:53.112485-07:00
    The feature gate can be temporarily reverted back by adding
    `--feature-gate=-k8sattr.rfc3339` to the command line.
    dmitryax authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    851cef5 View commit details
    Browse the repository at this point in the history
  10. [chore][exporter/signalfx] Attempt to resolve failing test (open-tele…

    …metry#27608)
    
    **Description:** 
    The APM correlation test is failing with too many retry updates. The
    solution is to increase the `CleanupInterval` to allow the test time to
    make multiple correlation calls within the same dedup cleanup interval.
    I posted the full description in [this issue
    comment.](open-telemetry#27059 (comment))
    
    Before this fix this test would fail _almost_ every time since it was
    introduced into this repo, I haven't seen any failure since this update
    (9 successful runs).
    
    **Link to tracking Issue:** Resolves open-telemetry#27059
    crobert-1 authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    66cc79c View commit details
    Browse the repository at this point in the history
  11. [receiver/collectd] Move to use HTTPServerSettings with collectdrecei…

    …ver (open-telemetry#28812)
    
    **Description:**
    Overhauls collectdreceiver to use the latest config helper features
    
    **Link to tracking Issue:**
    Fixes open-telemetry#28811
    
    **Documentation:**
    No impact to docs. User interface remains the same.
    Separate changelog to notice API breaking changes, as the Config struct
    is changing.
    
    ---------
    
    Co-authored-by: Dmitrii Anoshin <[email protected]>
    atoulme and dmitryax authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    812d799 View commit details
    Browse the repository at this point in the history
  12. [chore][exporter/datadog] Re-enable TestTraceExporter (open-telemetry…

    …#28827)
    
    Re-enable TestTraceExporter.
    
    Fixes
    open-telemetry#27630
    
    Co-authored-by: Pablo Baeyens <[email protected]>
    songy23 and mx-psi authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    39ace36 View commit details
    Browse the repository at this point in the history
  13. [chore][receiver/hostmetrics] Skip process user error (un)muted test …

    …on non-Linux (open-telemetry#28829)
    
    **Description:**
    Fix open-telemetry#28828 - this is just disabling the test on non-Linux. The broken
    test was introduced via open-telemetry#28661.
    pjanotti authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    faada96 View commit details
    Browse the repository at this point in the history
  14. [receiver/hostmetricsreceiver] Add support for cpu frequency metric (o…

    …pen-telemetry#27445)
    
    **Description:** : Added support for host's cpu frequency as part
                       of the hostmetricsreceiver.
    
    **Link to tracking Issue:** open-telemetry#26532
    
    **Testing:**
    
    1. Using the following configuration:
    ```yml
    receivers:
      hostmetrics:
        collection_interval: 5s
        scrapers:
          cpu:
            metrics:
              system.cpu.frequency:
                enabled: true
    
    processors:
      resourcedetection/system:
        detectors: ["system"]
        system:
          hostname_sources: ["lookup", "cname", "dns", "os"]
          resource_attributes:
            host.name:
              enabled: true
            host.id:
              enabled: true
            host.cpu.cache.l2.size:
              enabled: true
            host.cpu.family:
              enabled: true
            host.cpu.model.id:
              enabled: true
            host.cpu.model.name:
              enabled: true
            host.cpu.stepping:
              enabled: true
            host.cpu.vendor.id:
              enabled: true
    
    service:
      pipelines:
        metrics:
          receivers: [hostmetrics]
          exporters: [file]
          processors: [resourcedetection/system]
    
    exporters:
      file:
        path: ./output.json
    ```
    
    2. Start the collector with ./bin/otelcontribcol_linux_amd64 --config
    examples/host_config.yaml
    3. The output reports the added metric successfully:
    
    ```json
    {
       "resourceMetrics":[
          {
             "scopeMetrics":[
                {
                   "scope":{
                      "name":"otelcol/hostmetricsreceiver/cpu",
                      "version":"0.85.0-dev"
                   },
                   "metrics":[
                      {
                         "name":"system.cpu.frequency",
                         "description":"Current frequency of the CPU core in MHz.",
                         "unit":"MHz",
                         "gauge":{
                            "dataPoints":[
                               {
                                  "attributes":[
                                     {
                                        "key":"cpu",
                                        "value":{
                                           "stringValue":"cpu0"
                                        }
                                     }
                                  ],
                                  "startTimeUnixNano":"1696487580000000000",
                                  "timeUnixNano":"1696512423758783158",
                                  "asDouble":3000
                               },
                               {
                                  "attributes":[
                                     {
                                        "key":"cpu",
                                        "value":{
                                           "stringValue":"cpu1"
                                        }
                                     }
                                  ],
                                  "startTimeUnixNano":"1696487580000000000",
                                  "timeUnixNano":"1696512423758783158",
                                  "asDouble":3000
                               },
    ...
    ```
    
    Signed-off-by: ChrsMark <[email protected]>
    ChrsMark authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    1c63ac9 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. [encoding/zipkinencodingextension] add default case (open-telemetry#2…

    …8689)
    
    **Description:** Fix bug when err is nil if an invalid version value is
    supplied.
    
    **Link to tracking Issue:** open-telemetry#28686
    
    ---------
    
    Co-authored-by: Dmitrii Anoshin <[email protected]>
    VihasMakwana and dmitryax authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7efdf16 View commit details
    Browse the repository at this point in the history
  2. [chore] Upgrade cloud.google.com/go (open-telemetry#28840)

    To resolve failing build-and-test/checks CI job
    
    **Link to tracking Issue:**
    open-telemetry#28839
    dmitryax authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7e06d30 View commit details
    Browse the repository at this point in the history
  3. [connector/exceptions] Add trace id and span id to generated logs (op…

    …en-telemetry#28670)
    
    **Description:** <Describe what has changed.>
    The current implementation generates logs from recorded exceptions in
    spans, but is not possible to see which traces and spans generated those
    logs. This PR adds that information to the logs
    
    **Link to tracking Issue:** Fixes open-telemetry#24407
    marctc authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    fe06dee View commit details
    Browse the repository at this point in the history
  4. [chore][exporter/loadbalancing] use headless service with DNS mode in…

    … K8S(open-telemetry#27014) (open-telemetry#28687)
    
    **Description:** <Describe what has changed.>
    fix
    open-telemetry#27014
    notice when in K8S, the DNS mode should config a headless service
    
    **Link to tracking Issue:** <Issue number if applicable>
    open-telemetry#27014
    Liubey authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7647d4c View commit details
    Browse the repository at this point in the history
  5. Update README.md (open-telemetry#28844)

    The Prometheus Remote write exporter is missing the details of default
    values for the remote write queue config. Added the values after looking
    into the code for the same.
    datsabk authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    64a787d View commit details
    Browse the repository at this point in the history
  6. exporter/datadog: disable APM stats via feature flag (open-telemetry#…

    …28616)
    
    This change adds the "exporter.datadogexporter.disable_apm_stats"
    feature flag, which can be enabled to disable APM stats computation.
    
    Updates open-telemetry#28615
    gbbr authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    5c69f33 View commit details
    Browse the repository at this point in the history
  7. [receiver/zipkin] follow receiver contract (open-telemetry#28627)

    I came across `zipkinreceiver` and observed we don't
    follow the receiver
    [contract](https://github.com/open-telemetry/opentelemetry-collector/blob/b2961b799e2c1ec128f0539764af1fa10c839e04/receiver/doc.go#L21).
    We return `InternalServerError` straight away without checking
    permanent/non-permanent errors.
    
    We should probably return BadRequest in case of permanent errors
    
    open-telemetry/opentelemetry-collector#4335
    
    **Testing:** Added test cases
    
    Co-authored-by: Andrzej Stencel <[email protected]>
    VihasMakwana and andrzej-stencel authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    9edd6a9 View commit details
    Browse the repository at this point in the history
  8. [chore][exporter/sumologicexporter] use errors.Join instead of go.ube…

    …r.org/multierr (open-telemetry#28614)
    
    **Description:** use errors.Join instead of go.uber.org/multierr
    
    **Link to tracking Issue:** open-telemetry#25121 
    
    ---------
    
    Co-authored-by: Andrzej Stencel <[email protected]>
    bagmeg and andrzej-stencel authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    f530bc4 View commit details
    Browse the repository at this point in the history
  9. [receiver/wavefront] wrap metrics receiver under carbon receiver inst…

    …ead of using export function (open-telemetry#27259)
    
    **Description:** 
    Wavefrontreceiver is very similar to carbonreceiver: it is TCP based in
    which each received text line represents a single metric data point. In
    order to avoid using exported function `carbonreceiver.New(...)`, we can
    wrap metrics receiver under carbon receiver.
    
    **Link to tracking Issue:** 
    
    open-telemetry#27248
    
    **Testing:** 
    make chlog-validate
    go test for wavefrontreceiver
    
    **Documentation:**
    
    ---------
    
    Co-authored-by: Pablo Baeyens <[email protected]>
    sakulali and mx-psi authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    1b8ccde View commit details
    Browse the repository at this point in the history
  10. [processor/k8sattributes] Fix node/ns labels/annotations extraction (o…

    …pen-telemetry#28838)
    
    Set attributes from namespace/node labels or annotations even if
    `k8s.namespace.name` and `k8s.node.name` are not extracted.
    
    Fixes
    open-telemetry#28837
    dmitryax authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    fddc10d View commit details
    Browse the repository at this point in the history
  11. [processor/remoteobserver] rename to remotetapprocessor (open-telemet…

    …ry#27874)
    
    **Description:**
    Rename remoteobserverprocessor to remotetapprocessor
    
    **Link to tracking Issue:**
    Fixes open-telemetry#27873
    atoulme authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b88690a View commit details
    Browse the repository at this point in the history
  12. [Spanmetrics] - Add exemplars to Sum metrics (open-telemetry#28671)

    **Description:** 
    We don't have exemplars added to Sum metrics right now. This PR provides
    an enhancement to add exemplars to Sum metrics in Spanmetrics connector
    
    
    **Testing:** 
    Added unit tests and also tested it in our local environment.
    aishyandapalli authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ad35b39 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

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