Skip to content

Conversation

@malaterre
Copy link
Contributor

Fixes startup error:

Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

  • '' has invalid keys: batch, logging, otlp
    2023/09/15 06:53:14 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

  • '' has invalid keys: batch, logging, otlp

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

  • The OTel specification has changed which prompted this PR to update the method interfaces of opentelemetry-api/ or opentelemetry-sdk/

  • The method interfaces of test/util have changed

  • Scripts in scripts/ that were copied over to the Contrib repo have changed

  • Configuration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in

    • pyproject.toml
    • isort.cfg
    • .flake8
  • When a new .github/CODEOWNER is added

  • Major changes to project information, such as in:

    • README.md
    • CONTRIBUTING.md
  • Yes. - Link to PR:

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

Fixes startup error:

Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* '' has invalid keys: batch, logging, otlp
2023/09/15 06:53:14 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* '' has invalid keys: batch, logging, otlp
@malaterre malaterre requested a review from a team September 15, 2023 08:20
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 15, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: malaterre / name: Mathieu Malaterre (cc7c6c2)
  • ✅ login: lzchen / name: Leighton Chen (29e2c6f)

Copy link
Member

@aabmass aabmass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@aabmass aabmass added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 18, 2023
@lzchen lzchen enabled auto-merge (squash) September 19, 2023 17:52
@lzchen lzchen merged commit 0c382ee into open-telemetry:main Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants