Jade Guiton
1bb0469b16
[service] Move batchprocessor metrics to normal level and update level guidelines ( #12525 )
...
#### Description
This PR:
- requires "level: normal" before outputting batch processor metrics (in
addition to one specific metric which was already restricted to "level:
detailed")
- clarifies wording in the telemetry level guidelines and documentation,
and adds said guidelines to the requirements for stable components.
Some rationale for these changes can be found in the tracking issue and
[this
comment](https://github.com/open-telemetry/opentelemetry-collector/issues/7890#issuecomment-2684652956 ).
#### Link to tracking issue
Resolves #7890
#### To be discussed
Should we add a feature gate for this, in case a user relies on "level:
basic" outputting batch processor metrics? This feels like a niche use
case, so considering the "alpha" stability level of these metrics, I
don't think it's really necessary.
Considering batch processor metrics had already been switched to
"normal" once (#9767 ), but were turned back to basic at some later point
(not sure when), we might also want to add tests to avoid further
regressions (especially as the handling of telemetry levels is bound to
change further with #11754 ).
---------
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
2025-03-04 15:57:23 +00:00
Alex Boten
e4b9425241
bump minimum supported go version to 1.23 ( #12370 )
...
With the release of 1.24, we need to bump the tested versions.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-02-12 15:03:19 +00:00
Matthieu MOREL
808fb7c260
[chore]: enable gofumpt linter in client, cmd, component, config and confmap ( #11587 )
...
#### Description
[gofumpt](https://golangci-lint.run/usage/linters/#gofumpt ) is a
stricter format than gofmt, while being backwards compatible.
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-11 08:50:57 +00:00
renovate[bot]
e91dafacd9
fix(deps): update module github.com/stretchr/testify to v1.10.0 ( #11751 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/stretchr/testify](https://redirect.github.com/stretchr/testify )
| `v1.9.0` -> `v1.10.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>stretchr/testify (github.com/stretchr/testify)</summary>
###
[`v1.10.0`](https://redirect.github.com/stretchr/testify/releases/tag/v1.10.0 )
[Compare
Source](https://redirect.github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
#### What's Changed
##### Functional Changes
- Add PanicAssertionFunc by
[@​fahimbagar](https://redirect.github.com/fahimbagar ) in
[https://github.com/stretchr/testify/pull/1337 ](https://redirect.github.com/stretchr/testify/pull/1337 )
- assert: deprecate CompareType by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1566 ](https://redirect.github.com/stretchr/testify/pull/1566 )
- assert: make YAML dependency pluggable via build tags by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1579 ](https://redirect.github.com/stretchr/testify/pull/1579 )
- assert: new assertion NotElementsMatch by
[@​hendrywiranto](https://redirect.github.com/hendrywiranto ) in
[https://github.com/stretchr/testify/pull/1600 ](https://redirect.github.com/stretchr/testify/pull/1600 )
- mock: in order mock calls by
[@​ReyOrtiz](https://redirect.github.com/ReyOrtiz ) in
[https://github.com/stretchr/testify/pull/1637 ](https://redirect.github.com/stretchr/testify/pull/1637 )
- Add assertion for NotErrorAs by
[@​palsivertsen](https://redirect.github.com/palsivertsen ) in
[https://github.com/stretchr/testify/pull/1129 ](https://redirect.github.com/stretchr/testify/pull/1129 )
- Record Return Arguments of a Call by
[@​jayd3e](https://redirect.github.com/jayd3e ) in
[https://github.com/stretchr/testify/pull/1636 ](https://redirect.github.com/stretchr/testify/pull/1636 )
- assert.EqualExportedValues: accepts everything by
[@​redachl](https://redirect.github.com/redachl ) in
[https://github.com/stretchr/testify/pull/1586 ](https://redirect.github.com/stretchr/testify/pull/1586 )
##### Fixes
- assert: make tHelper a type alias by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1562 ](https://redirect.github.com/stretchr/testify/pull/1562 )
- Do not get argument again unnecessarily in Arguments.Error() by
[@​TomWright](https://redirect.github.com/TomWright ) in
[https://github.com/stretchr/testify/pull/820 ](https://redirect.github.com/stretchr/testify/pull/820 )
- Fix time.Time compare by
[@​myxo](https://redirect.github.com/myxo ) in
[https://github.com/stretchr/testify/pull/1582 ](https://redirect.github.com/stretchr/testify/pull/1582 )
- assert.Regexp: handle \[]byte array properly by
[@​kevinburkesegment](https://redirect.github.com/kevinburkesegment )
in
[https://github.com/stretchr/testify/pull/1587 ](https://redirect.github.com/stretchr/testify/pull/1587 )
- assert: collect.FailNow() should not panic by
[@​marshall-lee](https://redirect.github.com/marshall-lee ) in
[https://github.com/stretchr/testify/pull/1481 ](https://redirect.github.com/stretchr/testify/pull/1481 )
- mock: simplify implementation of FunctionalOptions by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1571 ](https://redirect.github.com/stretchr/testify/pull/1571 )
- mock: caller information for unexpected method call by
[@​spirin](https://redirect.github.com/spirin ) in
[https://github.com/stretchr/testify/pull/1644 ](https://redirect.github.com/stretchr/testify/pull/1644 )
- suite: fix test failures by
[@​stevenh](https://redirect.github.com/stevenh ) in
[https://github.com/stretchr/testify/pull/1421 ](https://redirect.github.com/stretchr/testify/pull/1421 )
- Fix issue
[#​1662](https://redirect.github.com/stretchr/testify/issues/1662 )
(comparing infs should fail) by
[@​ybrustin](https://redirect.github.com/ybrustin ) in
[https://github.com/stretchr/testify/pull/1663 ](https://redirect.github.com/stretchr/testify/pull/1663 )
- NotSame should fail if args are not pointers
[#​1661](https://redirect.github.com/stretchr/testify/issues/1661 )
by [@​sikehish](https://redirect.github.com/sikehish ) in
[https://github.com/stretchr/testify/pull/1664 ](https://redirect.github.com/stretchr/testify/pull/1664 )
- Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI
by [@​sikehish](https://redirect.github.com/sikehish ) in
[https://github.com/stretchr/testify/pull/1667 ](https://redirect.github.com/stretchr/testify/pull/1667 )
- fix: compare functional option names for indirect calls by
[@​arjun-1](https://redirect.github.com/arjun-1 ) in
[https://github.com/stretchr/testify/pull/1626 ](https://redirect.github.com/stretchr/testify/pull/1626 )
##### Documantation, Build & CI
- .gitignore: ignore "go test -c" binaries by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1565 ](https://redirect.github.com/stretchr/testify/pull/1565 )
- mock: improve doc by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1570 ](https://redirect.github.com/stretchr/testify/pull/1570 )
- mock: fix FunctionalOptions docs by
[@​snirye](https://redirect.github.com/snirye ) in
[https://github.com/stretchr/testify/pull/1433 ](https://redirect.github.com/stretchr/testify/pull/1433 )
- README: link out to the excellent testifylint by
[@​brackendawson](https://redirect.github.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1568 ](https://redirect.github.com/stretchr/testify/pull/1568 )
- assert: fix typo in comment by
[@​JohnEndson](https://redirect.github.com/JohnEndson ) in
[https://github.com/stretchr/testify/pull/1580 ](https://redirect.github.com/stretchr/testify/pull/1580 )
- Correct the EventuallyWithT and EventuallyWithTf example by
[@​JonCrowther](https://redirect.github.com/JonCrowther ) in
[https://github.com/stretchr/testify/pull/1588 ](https://redirect.github.com/stretchr/testify/pull/1588 )
- CI: bump softprops/action-gh-release from 1 to 2 by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/stretchr/testify/pull/1575 ](https://redirect.github.com/stretchr/testify/pull/1575 )
- mock: document more alternatives to deprecated AnythingOfTypeArgument
by [@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1569 ](https://redirect.github.com/stretchr/testify/pull/1569 )
- assert: Correctly document EqualValues behavior by
[@​brackendawson](https://redirect.github.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1593 ](https://redirect.github.com/stretchr/testify/pull/1593 )
- fix: grammar in godoc by
[@​miparnisari](https://redirect.github.com/miparnisari ) in
[https://github.com/stretchr/testify/pull/1607 ](https://redirect.github.com/stretchr/testify/pull/1607 )
- .github/workflows: Run tests for Go 1.22 by
[@​HaraldNordgren](https://redirect.github.com/HaraldNordgren ) in
[https://github.com/stretchr/testify/pull/1629 ](https://redirect.github.com/stretchr/testify/pull/1629 )
- Document suite's lack of support for t.Parallel by
[@​brackendawson](https://redirect.github.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1645 ](https://redirect.github.com/stretchr/testify/pull/1645 )
- assert: fix typos in comments by
[@​alexandear](https://redirect.github.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1650 ](https://redirect.github.com/stretchr/testify/pull/1650 )
- mock: fix doc comment for NotBefore by
[@​alexandear](https://redirect.github.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1651 ](https://redirect.github.com/stretchr/testify/pull/1651 )
- Generate better comments for require package by
[@​Neokil](https://redirect.github.com/Neokil ) in
[https://github.com/stretchr/testify/pull/1610 ](https://redirect.github.com/stretchr/testify/pull/1610 )
- README: replace Testify V2 notice with
[@​dolmen](https://redirect.github.com/dolmen )'s V2 manifesto by
[@​hendrywiranto](https://redirect.github.com/hendrywiranto ) in
[https://github.com/stretchr/testify/pull/1518 ](https://redirect.github.com/stretchr/testify/pull/1518 )
#### New Contributors
- [@​fahimbagar](https://redirect.github.com/fahimbagar ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1337 ](https://redirect.github.com/stretchr/testify/pull/1337 )
- [@​TomWright](https://redirect.github.com/TomWright ) made their
first contribution in
[https://github.com/stretchr/testify/pull/820 ](https://redirect.github.com/stretchr/testify/pull/820 )
- [@​snirye](https://redirect.github.com/snirye ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1433 ](https://redirect.github.com/stretchr/testify/pull/1433 )
- [@​myxo](https://redirect.github.com/myxo ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1582 ](https://redirect.github.com/stretchr/testify/pull/1582 )
- [@​JohnEndson](https://redirect.github.com/JohnEndson ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1580 ](https://redirect.github.com/stretchr/testify/pull/1580 )
- [@​JonCrowther](https://redirect.github.com/JonCrowther ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1588 ](https://redirect.github.com/stretchr/testify/pull/1588 )
- [@​miparnisari](https://redirect.github.com/miparnisari ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1607 ](https://redirect.github.com/stretchr/testify/pull/1607 )
- [@​marshall-lee](https://redirect.github.com/marshall-lee ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1481 ](https://redirect.github.com/stretchr/testify/pull/1481 )
- [@​spirin](https://redirect.github.com/spirin ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1644 ](https://redirect.github.com/stretchr/testify/pull/1644 )
- [@​ReyOrtiz](https://redirect.github.com/ReyOrtiz ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1637 ](https://redirect.github.com/stretchr/testify/pull/1637 )
- [@​stevenh](https://redirect.github.com/stevenh ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1421 ](https://redirect.github.com/stretchr/testify/pull/1421 )
- [@​jayd3e](https://redirect.github.com/jayd3e ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1636 ](https://redirect.github.com/stretchr/testify/pull/1636 )
- [@​Neokil](https://redirect.github.com/Neokil ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1610 ](https://redirect.github.com/stretchr/testify/pull/1610 )
- [@​redachl](https://redirect.github.com/redachl ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1586 ](https://redirect.github.com/stretchr/testify/pull/1586 )
- [@​ybrustin](https://redirect.github.com/ybrustin ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1663 ](https://redirect.github.com/stretchr/testify/pull/1663 )
- [@​sikehish](https://redirect.github.com/sikehish ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1664 ](https://redirect.github.com/stretchr/testify/pull/1664 )
- [@​arjun-1](https://redirect.github.com/arjun-1 ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1626 ](https://redirect.github.com/stretchr/testify/pull/1626 )
**Full Changelog**:
https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-11-26 11:09:39 -08:00
Matthieu MOREL
37f783308e
[chore]: enable require-error rule from testifylint ( #11199 )
...
#### Description
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[require-error](https://github.com/Antonboom/testifylint?tab=readme-ov-file#require-error )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-18 15:02:22 -07:00
Alex Boten
fbffbb0820
[chore] small test improvements ( #11211 )
...
Clean up some inconsistencies in the test code across the components.
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-18 13:47:25 -07:00
Antoine Toulme
9b4a277829
[configtelemetry] add guidelines for each level of config telemetry ( #10365 )
...
#### Description
Add to the package comment a set of guidelines for configtelemetry
levels.
#### Link to tracking issue
Fixes #10286
---------
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-28 08:07:35 -07:00
Alex Boten
76acd37b2c
Added support for go1.23, bumped the minimum version to 1.22 ( #10869 )
...
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-13 14:32:29 -07:00
Alex Boten
570a425961
[chore] follow codeql recommendation ( #10165 )
...
CodeQL is currently reporting "Invalid Go toolchain version: As of Go
1.21, toolchain versions must use the 1.N.P syntax.". This PR attempts
to fix this.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-05-23 09:38:44 -07:00
renovate[bot]
5481440ad6
Update module github.com/stretchr/testify to v1.9.0 ( #9695 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/stretchr/testify](https://togithub.com/stretchr/testify ) |
`v1.8.4` -> `v1.9.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>stretchr/testify (github.com/stretchr/testify)</summary>
###
[`v1.9.0`](https://togithub.com/stretchr/testify/releases/tag/v1.9.0 )
[Compare
Source](https://togithub.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
#### What's Changed
- Fix Go modules version by
[@​SuperQ](https://togithub.com/SuperQ ) in
[https://github.com/stretchr/testify/pull/1394 ](https://togithub.com/stretchr/testify/pull/1394 )
- Document that require is not safe to call in created goroutines by
[@​programmer04](https://togithub.com/programmer04 ) in
[https://github.com/stretchr/testify/pull/1392 ](https://togithub.com/stretchr/testify/pull/1392 )
- Remove myself from MAINTAINERS.md by
[@​mvdkleijn](https://togithub.com/mvdkleijn ) in
[https://github.com/stretchr/testify/pull/1367 ](https://togithub.com/stretchr/testify/pull/1367 )
- Correct spelling/grammar by
[@​echarrod](https://togithub.com/echarrod ) in
[https://github.com/stretchr/testify/pull/1389 ](https://togithub.com/stretchr/testify/pull/1389 )
- docs: Update URLs in README by
[@​davidjb](https://togithub.com/davidjb ) in
[https://github.com/stretchr/testify/pull/1349 ](https://togithub.com/stretchr/testify/pull/1349 )
- Update mockery link to Github Pages in README by
[@​LandonTClipp](https://togithub.com/LandonTClipp ) in
[https://github.com/stretchr/testify/pull/1346 ](https://togithub.com/stretchr/testify/pull/1346 )
- docs: Fix typos in tests and comments by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1410 ](https://togithub.com/stretchr/testify/pull/1410 )
- CI: tests from go1.17 by [@​SuperQ](https://togithub.com/SuperQ )
in
[https://github.com/stretchr/testify/pull/1409 ](https://togithub.com/stretchr/testify/pull/1409 )
- Fix adding ? when no values passed by
[@​lesichkovm](https://togithub.com/lesichkovm ) in
[https://github.com/stretchr/testify/pull/1320 ](https://togithub.com/stretchr/testify/pull/1320 )
- codegen: use standard header for generated files by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1406 ](https://togithub.com/stretchr/testify/pull/1406 )
- mock: AssertExpectations log reason only on failure by
[@​hikyaru-suzuki](https://togithub.com/hikyaru-suzuki ) in
[https://github.com/stretchr/testify/pull/1360 ](https://togithub.com/stretchr/testify/pull/1360 )
- assert: fix flaky TestNeverTrue by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1417 ](https://togithub.com/stretchr/testify/pull/1417 )
- README: fix typos "set up" vs "setup" by
[@​ossan-dev](https://togithub.com/ossan-dev ) in
[https://github.com/stretchr/testify/pull/1428 ](https://togithub.com/stretchr/testify/pull/1428 )
- mock: move regexp compilation outside of `Called` by
[@​aud10slave](https://togithub.com/aud10slave ) in
[https://github.com/stretchr/testify/pull/631 ](https://togithub.com/stretchr/testify/pull/631 )
- assert: refactor internal func getLen() by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1445 ](https://togithub.com/stretchr/testify/pull/1445 )
- mock: deprecate type AnythingOfTypeArgument
([#​1434](https://togithub.com/stretchr/testify/issues/1434 )) by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1441 ](https://togithub.com/stretchr/testify/pull/1441 )
- Remove no longer needed assert.canConvert by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1470 ](https://togithub.com/stretchr/testify/pull/1470 )
- assert: ObjectsAreEqual: use time.Equal for time.Time types by
[@​tscales](https://togithub.com/tscales ) in
[https://github.com/stretchr/testify/pull/1464 ](https://togithub.com/stretchr/testify/pull/1464 )
- Bump actions/checkout from 3 to 4 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/stretchr/testify/pull/1466 ](https://togithub.com/stretchr/testify/pull/1466 )
- Bump actions/setup-go from 3.2.0 to 4.1.0 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/stretchr/testify/pull/1451 ](https://togithub.com/stretchr/testify/pull/1451 )
- fix: make EventuallyWithT concurrency safe by
[@​czeslavo](https://togithub.com/czeslavo ) in
[https://github.com/stretchr/testify/pull/1395 ](https://togithub.com/stretchr/testify/pull/1395 )
- assert: fix httpCode and HTTPBody occur panic when http.Handler read
Body by [@​hidu](https://togithub.com/hidu ) in
[https://github.com/stretchr/testify/pull/1484 ](https://togithub.com/stretchr/testify/pull/1484 )
- assert.EqualExportedValues: fix handling of arrays by
[@​zrbecker](https://togithub.com/zrbecker ) in
[https://github.com/stretchr/testify/pull/1473 ](https://togithub.com/stretchr/testify/pull/1473 )
- .github: use latest Go versions by
[@​kevinburkesegment](https://togithub.com/kevinburkesegment ) in
[https://github.com/stretchr/testify/pull/1489 ](https://togithub.com/stretchr/testify/pull/1489 )
- assert: Deprecate EqualExportedValues by
[@​HaraldNordgren](https://togithub.com/HaraldNordgren ) in
[https://github.com/stretchr/testify/pull/1488 ](https://togithub.com/stretchr/testify/pull/1488 )
- suite: refactor test assertions by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1474 ](https://togithub.com/stretchr/testify/pull/1474 )
- suite: fix SetupSubTest and TearDownSubTest execution order by
[@​linusbarth](https://togithub.com/linusbarth ) in
[https://github.com/stretchr/testify/pull/1471 ](https://togithub.com/stretchr/testify/pull/1471 )
- docs: Fix deprecation comments for http package by
[@​alexandear](https://togithub.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1335 ](https://togithub.com/stretchr/testify/pull/1335 )
- Add map support doc comments to Subset and NotSubset by
[@​jedevc](https://togithub.com/jedevc ) in
[https://github.com/stretchr/testify/pull/1306 ](https://togithub.com/stretchr/testify/pull/1306 )
- TestErrorIs/TestNotErrorIs: check error message contents by
[@​craig65535](https://togithub.com/craig65535 ) in
[https://github.com/stretchr/testify/pull/1435 ](https://togithub.com/stretchr/testify/pull/1435 )
- suite: fix subtest names (fix
[#​1501](https://togithub.com/stretchr/testify/issues/1501 )) by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1504 ](https://togithub.com/stretchr/testify/pull/1504 )
- assert: improve unsafe.Pointer tests by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1505 ](https://togithub.com/stretchr/testify/pull/1505 )
- assert: simplify isNil implementation by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1506 ](https://togithub.com/stretchr/testify/pull/1506 )
- assert.InEpsilonSlice: fix expected/actual order and other
improvements by [@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1483 ](https://togithub.com/stretchr/testify/pull/1483 )
- Fix dependency cycle with objx
[#​1292](https://togithub.com/stretchr/testify/issues/1292 ) by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1453 ](https://togithub.com/stretchr/testify/pull/1453 )
- mock: refactor TestIsArgsEqual by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1444 ](https://togithub.com/stretchr/testify/pull/1444 )
- mock: optimize argument matching checks by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1416 ](https://togithub.com/stretchr/testify/pull/1416 )
- assert: fix TestEventuallyTimeout by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1412 ](https://togithub.com/stretchr/testify/pull/1412 )
- CI: add go 1.21 in GitHub Actions by
[@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1450 ](https://togithub.com/stretchr/testify/pull/1450 )
- suite: fix recoverAndFailOnPanic to report test failure at the right
location by [@​dolmen](https://togithub.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1502 ](https://togithub.com/stretchr/testify/pull/1502 )
- Update maintainers by
[@​brackendawson](https://togithub.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1533 ](https://togithub.com/stretchr/testify/pull/1533 )
- assert: Fix EqualValues to handle overflow/underflow by
[@​arjunmahishi](https://togithub.com/arjunmahishi ) in
[https://github.com/stretchr/testify/pull/1531 ](https://togithub.com/stretchr/testify/pull/1531 )
- assert: better formatting for Len() error by
[@​kevinburkesegment](https://togithub.com/kevinburkesegment ) in
[https://github.com/stretchr/testify/pull/1485 ](https://togithub.com/stretchr/testify/pull/1485 )
- Ensure AssertExpectations does not fail in skipped tests by
[@​ianrose14](https://togithub.com/ianrose14 ) in
[https://github.com/stretchr/testify/pull/1331 ](https://togithub.com/stretchr/testify/pull/1331 )
- suite: fix deadlock in suite.Require()/Assert() by
[@​arjunmahishi](https://togithub.com/arjunmahishi ) in
[https://github.com/stretchr/testify/pull/1535 ](https://togithub.com/stretchr/testify/pull/1535 )
- Revert "assert: ObjectsAreEqual: use time.Equal for time.Time type" by
[@​brackendawson](https://togithub.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1537 ](https://togithub.com/stretchr/testify/pull/1537 )
- \[chore] Add issue templates by
[@​arjunmahishi](https://togithub.com/arjunmahishi ) in
[https://github.com/stretchr/testify/pull/1538 ](https://togithub.com/stretchr/testify/pull/1538 )
- Update the build status badge by
[@​brackendawson](https://togithub.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1540 ](https://togithub.com/stretchr/testify/pull/1540 )
- Update Github workflows setup-go to V5 by
[@​hendrywiranto](https://togithub.com/hendrywiranto ) in
[https://github.com/stretchr/testify/pull/1545 ](https://togithub.com/stretchr/testify/pull/1545 )
- Support Pointer to Struct in EqualExportedValues by
[@​Lucaber](https://togithub.com/Lucaber ) in
[https://github.com/stretchr/testify/pull/1517 ](https://togithub.com/stretchr/testify/pull/1517 )
- README: drop link to gorc by
[@​guettli](https://togithub.com/guettli ) in
[https://github.com/stretchr/testify/pull/1248 ](https://togithub.com/stretchr/testify/pull/1248 )
- http_assertions: honour the msgAndArgs provided with each assertion by
[@​arjunmahishi](https://togithub.com/arjunmahishi ) in
[https://github.com/stretchr/testify/pull/1548 ](https://togithub.com/stretchr/testify/pull/1548 )
- fix typos in comments and tests by
[@​ccoVeille](https://togithub.com/ccoVeille ) in
[https://github.com/stretchr/testify/pull/1247 ](https://togithub.com/stretchr/testify/pull/1247 )
- Include the auto-release notes in releases by
[@​brackendawson](https://togithub.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1550 ](https://togithub.com/stretchr/testify/pull/1550 )
- Add `NotImplements` and variants by
[@​hslatman](https://togithub.com/hslatman ) in
[https://github.com/stretchr/testify/pull/1385 ](https://togithub.com/stretchr/testify/pull/1385 )
- Add support to compare uintptr by
[@​bogdandrutu](https://togithub.com/bogdandrutu ) in
[https://github.com/stretchr/testify/pull/1339 ](https://togithub.com/stretchr/testify/pull/1339 )
- build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2 by
[@​dependabot](https://togithub.com/dependabot ) in
[https://github.com/stretchr/testify/pull/1552 ](https://togithub.com/stretchr/testify/pull/1552 )
#### New Contributors
- [@​SuperQ](https://togithub.com/SuperQ ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1394 ](https://togithub.com/stretchr/testify/pull/1394 )
- [@​programmer04](https://togithub.com/programmer04 ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1392 ](https://togithub.com/stretchr/testify/pull/1392 )
- [@​echarrod](https://togithub.com/echarrod ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1389 ](https://togithub.com/stretchr/testify/pull/1389 )
- [@​davidjb](https://togithub.com/davidjb ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1349 ](https://togithub.com/stretchr/testify/pull/1349 )
- [@​LandonTClipp](https://togithub.com/LandonTClipp ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1346 ](https://togithub.com/stretchr/testify/pull/1346 )
- [@​alexandear](https://togithub.com/alexandear ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1410 ](https://togithub.com/stretchr/testify/pull/1410 )
- [@​lesichkovm](https://togithub.com/lesichkovm ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1320 ](https://togithub.com/stretchr/testify/pull/1320 )
- [@​dolmen](https://togithub.com/dolmen ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1406 ](https://togithub.com/stretchr/testify/pull/1406 )
- [@​hikyaru-suzuki](https://togithub.com/hikyaru-suzuki ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1360 ](https://togithub.com/stretchr/testify/pull/1360 )
- [@​ossan-dev](https://togithub.com/ossan-dev ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1428 ](https://togithub.com/stretchr/testify/pull/1428 )
- [@​aud10slave](https://togithub.com/aud10slave ) made their first
contribution in
[https://github.com/stretchr/testify/pull/631 ](https://togithub.com/stretchr/testify/pull/631 )
- [@​tscales](https://togithub.com/tscales ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1464 ](https://togithub.com/stretchr/testify/pull/1464 )
- [@​czeslavo](https://togithub.com/czeslavo ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1395 ](https://togithub.com/stretchr/testify/pull/1395 )
- [@​hidu](https://togithub.com/hidu ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1484 ](https://togithub.com/stretchr/testify/pull/1484 )
- [@​zrbecker](https://togithub.com/zrbecker ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1473 ](https://togithub.com/stretchr/testify/pull/1473 )
- [@​kevinburkesegment](https://togithub.com/kevinburkesegment )
made their first contribution in
[https://github.com/stretchr/testify/pull/1489 ](https://togithub.com/stretchr/testify/pull/1489 )
- [@​linusbarth](https://togithub.com/linusbarth ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1471 ](https://togithub.com/stretchr/testify/pull/1471 )
- [@​jedevc](https://togithub.com/jedevc ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1306 ](https://togithub.com/stretchr/testify/pull/1306 )
- [@​craig65535](https://togithub.com/craig65535 ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1435 ](https://togithub.com/stretchr/testify/pull/1435 )
- [@​arjunmahishi](https://togithub.com/arjunmahishi ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1531 ](https://togithub.com/stretchr/testify/pull/1531 )
- [@​ianrose14](https://togithub.com/ianrose14 ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1331 ](https://togithub.com/stretchr/testify/pull/1331 )
- [@​hendrywiranto](https://togithub.com/hendrywiranto ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1545 ](https://togithub.com/stretchr/testify/pull/1545 )
- [@​Lucaber](https://togithub.com/Lucaber ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1517 ](https://togithub.com/stretchr/testify/pull/1517 )
- [@​guettli](https://togithub.com/guettli ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1248 ](https://togithub.com/stretchr/testify/pull/1248 )
- [@​ccoVeille](https://togithub.com/ccoVeille ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1247 ](https://togithub.com/stretchr/testify/pull/1247 )
- [@​hslatman](https://togithub.com/hslatman ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1385 ](https://togithub.com/stretchr/testify/pull/1385 )
- [@​bogdandrutu](https://togithub.com/bogdandrutu ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1339 ](https://togithub.com/stretchr/testify/pull/1339 )
**Full Changelog**:
https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2024-03-05 12:18:37 +01:00
Alex Boten
488e45d770
bump minimum go version ( #9533 )
...
Fixes #9507
---------
Signed-off-by: Alex Boten <aboten@lightstep.com>
2024-02-12 08:41:46 -08:00
Antoine Toulme
39d2a0a59f
[configtelemetry] move implementation checks to test files ( #9432 )
...
**Description:**
move implementation checks to test files
**Link to tracking Issue:**
#9431
2024-01-30 12:32:38 -08:00
Curtis Robert
8ee1f13743
[chore] Enable goleak for all (passing) tests ( #9173 )
...
**Description:**
It was suggested that we add the [goleak
package](https://pkg.go.dev/go.uber.org/goleak ) to every test in core.
This change adds `goleak` to every package that is succeeds with goleak.
There a number that are not successful, the full list of which I've
posted in the bug.
I generated these files using a shell script to copy a template
`main_test.go` file into each package, then modified the package name.
I'm sure there was a better way to automate this, but it worked well
enough at this point. Here's the script:
```
cp ./main_test.go $1
PACKAGE_NAME=$(basename $1)
sed -i '' -e "s|package component|package $PACKAGE_NAME|g"
$1/main_test.go
pushd . && cd $1 && go mod tidy
go test -v .
```
Usage example:
```
$ ./add_leak_test reciever/scrapererror
```
**Link to tracking Issue:**
#9165
**Testing:**
All added tests are passing, but there are a number failing. Note that there's no sign of `goleak` running until it fails.
2024-01-03 08:35:58 -08:00
Evan Bradley
ebed8dd094
[chore] Remove dependency references to koanf v1 ( #8219 )
...
`github.com/knadh/koanf/maps` and other koanf packages can be
ambiguously loaded from their own modules or from
`github.com/knadh/koanf` v.1.x when using Go workspaces. This PR removes
references to any koanf v1 packages to disambiguate the import path.
**Link to tracking Issue:**
https://github.com/open-telemetry/opentelemetry-collector/issues/8127
I realize this change is enormous, I wasn't able to figure out how to
isolate the change to just the koanf packages. Any recommendations
welcome.
I produced these changes by running the following:
```shell
go mod edit -exclude=github.com/knadh/koanf@v1.5.0
go work init
go work use -r .
go work sync
make gotidy
make genotelcorecol
```
2023-08-16 08:24:05 -07:00
Pablo Baeyens
81242fa7ef
Remove go 1.19 support, bump minimum to go 1.20 and add testing for 1.21 ( #8208 )
...
Fixes #8207
---------
Co-authored-by: bryan-aguilar <46550959+bryan-aguilar@users.noreply.github.com>
2023-08-11 10:38:41 -07:00
Alex Boten
f4829161a2
Split config/configtelemetry into its own module ( #7908 )
...
Part of #7895
Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-16 12:28:43 -07:00
Alex Boten
80d704deb4
[chore] use license shortform ( #7694 )
...
* [chore] use license shortform
To remain consistent w/ contrib repo, see https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/22052
Signed-off-by: Alex Boten <aboten@lightstep.com>
* make goporto
Signed-off-by: Alex Boten <aboten@lightstep.com>
---------
Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-05-18 13:11:17 -07:00
Dmitrii Anoshin
375a8590c5
[configtelemetry] Update strings returned by `Level.[String|MarshalText]` ( #6533 )
...
- All returned strings are capitalized.
- "" is returned for integers that are out of Level enum range.
- It also affects `Level.MarshalText` output, but it's not a problem because `UnmarshalText` method accepts strings in
all cases, e.g. "normal", "Normal" and "NORMAL".
2022-11-14 12:26:26 -08:00
Jeffrey Chien
e9311f6af5
Add config marshaler. ( #5566 )
2022-09-29 16:15:47 -07:00
Bogdan Drutu
e8dd9536f5
Enable errorlint and fix all warnings ( #5364 )
...
On top of the errorlint errors, also changes `fmt.Errorf("string literal")` with `errors.New("string literal")`.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-05-16 10:36:41 -07:00
Bogdan Drutu
dc39c10a52
configtelemetry: remove unnecessary private func, add unittests for public funcs ( #5349 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-05-12 09:53:34 -07:00
Bogdan Drutu
f3fd237d26
Remove deprecated UseOpenTelemetryForInternalMetrics ( #5026 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-03-17 03:01:39 -07:00
Eric L
f2c295b344
Add feature flag to allow enabling otel for internal metrics ( #4912 )
...
* Add feature flag to allow enabling otel for internal metrics
* Add changelog; mark existing constant deprecated; keep feature flag private
* Register feature flag in telemetry instead
* apply the feature flag back to original value in test
* change comment
* Update service/telemetry.go
update description with suggested change
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Remove use of deprecated variable to address lint issue
* re-arrange import
* Fix unit test
* Re-enable the default value to be configtelemetry.UseOpenTelemetryForInternalMetrics
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
2022-03-01 15:15:34 -08:00
Bogdan Drutu
04374c197f
Remove deprecated funcs in configtelemetry ( #4808 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-02-07 09:16:16 -08:00
Bogdan Drutu
e467f98edc
Deprecate configtelemetry.Level.Set() ( #4700 )
...
After the `--metrics-level` flag was removed, this is no longer needed.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-01-18 13:52:40 -08:00
Bogdan Drutu
0d1e298e7b
Remove deprecate flags --metrics-level and --metrics-addr ( #4695 )
...
* Usages of `--metrics-level={VALUE}` can be replaced by `--set=service.telemetry.metrics.level={VALUE}`;
* Usages of `--metrics-addr={VALUE}` can be replaced by `--set=service.telemetry.metrics.address={VALUE}`;
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-01-18 18:07:48 +00:00
Anthony Mirabella
e080cae46f
Enable configuring telemetry through service config file ( #4069 )
...
* consolidate flags for configuring telemetry
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Enable configuring metrics via service config
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Make components take MetricsLevel from TelemetrySettings
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Fix lint errors
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Remove configuration for metrics prefix and adding instance ID
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Make entire Collector available to telemetry initialization, use it to set metrics prefix to buildInfo.Command
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* fix metrics prefix tests
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Fix lint errors
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* config/telemetry: parseLevel() no longer needs to be exported
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* config/telemetry: remove intanceID and prefix flags
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Apply PR feedback
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* address PR feedback
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Avoid linter complaining about use of deprecated functions
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
* Update CHANGELOG
Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
2021-12-16 10:29:28 -08:00
Sean Marciniak
5514ecb32e
Making access atomic to the collector's level ( #4549 )
...
* Making access atomic to the collector's level
In order to allow for more tests to run concurrently without triggering
the race detector, Level needs to be guarded by some atomic method.
This change makes access to the collector's Level managable via sync
method which may lead to eventual consistent.
* Update obsreport/obsreport_test.go
Remove this change
2021-12-14 09:16:31 -08:00
José Carlos Chávez
9d3a8a4608
Adds vanity import check ( #4180 )
...
* chore: adds porto and fixes vanity imports.
* chore: fixes target overriding.
* chore: fixes install of porto.
* chore: includes porto as a tool.
* chore: upgrades porto to check internals.
* chore: rebase and update vanity import.
* chore: removes unnecessary space.
* chore: rollsback vanity import in generated files.
2021-10-12 13:47:36 -07:00
Nathan Dias
63188405ac
add non-flag constant for exporting internal metrics via OpenTelemetry ( #3816 )
2021-09-23 02:06:24 -07:00
Eunice Kim
5bf7a5469b
Add doc.go files to the Config package ( #3284 )
...
* Add overview and move to seperate godoc
* Move config overview to doc.go
2021-05-26 09:17:32 -07:00
Eunice Kim
ec9a5600ca
Edit Type/Function Documentation in the Config Package ( #3296 )
...
* Fix typos in Config Package
* Ensure comments are above
* Address merge conflicts and additional typos
* Address merge conflicts
* Address documentation errors
* Change validateconfig to validate
2021-05-26 08:30:15 -07:00
Pablo Baeyens
08a18d5b9f
Add missing documentation ( #2837 )
...
* Add comment linter
For now I am excluding
- Internal packages
- Testbed packages
- Constant blocks (since the type docs is usually enough)
* Document consumer folder
* Document processor folder
* Document component folder
* Document config folder
* Document service folder
* Add nosec directive for testbed
* Document testutil folder
* Document receiver folder
* Document exporter folder
* Document cmd/schemagen folder
* Document translator folder
* Document cmd/mdatagen
* Document obsreport folder
* Remove outdated package config comment
* Update .golangci.yml
* Update .golangci.yml
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
2021-03-31 16:38:40 -07:00
Bogdan Drutu
6ac579e9bc
Add config settings for component telemetry, move the flag ( #2148 )
...
Next steps will be to use the new settings in the processors.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-14 08:49:31 -05:00
Bogdan Drutu
03da4a9cbb
Move parsing level logic to configtelemetry ( #2123 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-11-12 16:58:06 -05:00
Bogdan Drutu
e7e6693926
Expose telemetry level in the configtelemetry ( #1796 )
...
Next PR will add a config setting that can be embedded in every component config.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-09-18 16:11:27 -07:00