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

[opentelemetry-kube-stack] scrape_configs_file is basically useless #1331

Open
kristeey opened this issue Sep 6, 2024 · 2 comments
Open
Labels
chart:kube-stack documentation Improvements or additions to documentation

Comments

@kristeey
Copy link

kristeey commented Sep 6, 2024

Hi,
Trying out different features in the opentelemetry-kube-stack helm chart, and came over the scrape_configs_file attribute in the collectors.collectorName section. This is basically useless unless the user wants to use the default scrape config that comes with the helm chart deamon_scrape_configs.yaml or the user clones the chart and installes the helm chart locally. When installing the helm chart using the remote repository it is not possible to include "external" scrape config files into the helm structure (because of helm...). This is also the case when the chart is used as a subchart, and the scrape config files exists in the parent chart. Quoting the helm docs:

"Files outside of a Helm application subchart, including those of the parent, cannot be accessed"

this is a limitation with the .Files object in Helm.

@jaronoff97
Copy link
Contributor

Yes, this is a very annoying limitation of helm, this is useful if and only if you are forking the chart with a local copy. I'm not sure there's a way around this unfortunately. FWIW, I run the chart as a fork and periodically update my local copy for this reason.

@jaronoff97
Copy link
Contributor

either way we should document this.

@TylerHelmuth TylerHelmuth added the documentation Improvements or additions to documentation label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart:kube-stack documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants