-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
No confmap support in releases #29345
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Debugging Reproduces everytime, here's the call stack I'm getting from hitting in a debugger:
It's actually independent of the format of the URI. This is being hit in collector startup. From the call stack line:
There's a method call here from earlier in the function:
Which calls into here:
When we're checking for the scheme Conclusion Running the contrib collector distribution and simply specifying a config path starting with |
It looks like it's simply not supported in @Aneurysm9: Should we be adding support for the s3 provider to core/contrib? This may require moving the s3 provider to core, and enabling it by default. Feel free to correct me if I'm wrong here, I may be misunderstanding something simple here. |
From what I can tell so far your analysis looks to be correct @crobert-1.
I think this can be a more general question. Should the contrib distibution support different config map providers? If the answer is yes then I think this problem should be solved generically by expanding the ocb tool. |
Good point. It seems like config map providers may be a bit of a gray area in components. This is currently the only config map provider in contrib, but it has a label as well as code owners. However, there's no I guess it's up to code owners to know if this could be considered In my mind, if the component is entirely in contrib and more stable than |
IMO, this should not be in development stability anymore and is most likely an oversight after original contribution. We (ADOT) already include this in our distribution and provide support for this.
We should probably do this first, as I'm not sure if mdatagen supports confmap components yet. This may need to be captured in a separate issue first. I'll take a look at getting a |
Looks like I missed it on first pass but it already has a metadata.yaml file but stability level is not defined yet. |
I totally missed it myself as well. I think it's because there's no header in the README, but that'll be solved by the issue you've filed 👍 |
I'm going to remove |
Agreed, I think we will also need to make changes to the opentelemetry collector builder to support this but I have not evaluated changes needed there. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Someone to reopen? |
I believe the collector supports providers now. I didn't try this yet. |
I am still having this issue on the latest version, unless I am missing something altogether. |
There's still some prerequisite work to be done on mdatagen to promote the providers to alpha stability, but the S3 provider will be added to the contrib distro in this PR: open-telemetry/opentelemetry-collector-releases#546. In the meantime, you can still add the provider to your OCB manifests if you are using a custom distro like this. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
confmap/provider/s3provider
What happened?
Description
Correct me if I'm wrong, but I have the feeling since these manifest has been introduced https://github.com/open-telemetry/opentelemetry-collector-releases/blob/main/distributions/otelcol/manifest.yaml & https://github.com/open-telemetry/opentelemetry-collector-releases/blob/main/distributions/otelcol-contrib/manifest.yaml the confmap https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/confmap/provider/s3provider seems not usable at all. Probably others too.
I always have an error "unsupported scheme", I also tried the feature flag which is deprectated.
Steps to Reproduce
Just try
--config s3://xxxxxxx/xxxx.yml
Expected Result
Actual Result
Collector version
0.89.0
Environment information
Environment
OS: al2023 ARM64
OpenTelemetry Collector configuration
N/A
Log output
Additional context
N/A
The text was updated successfully, but these errors were encountered: