-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
supervisor does not consistently use property "storage.directory" to store effective yaml, agent.log #34341
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Yeah, we definitely should be putting any files the supervisor creates under the storage directory. I'll take this on. |
After a first test it look like "effective.yaml" file is still in same directory as supervisor and not in the configured one. |
It should cover all files, yeah. I've given it another test off main (commit 7f79eba), and I'm seeing Can you confirm the commit you've built the supervisor off of? If you're still seeing the issue, it'd also be helpful to get a config for the supervisor that reproduces the issue. I'm also curious if this is happening on startup or on reconfigure. |
based on tagged src i used git clone --branch v0.106.1 --depth 1 https://github.com/open-telemetry/opentelemetry-collector-contrib.git
|
Ah, that explains it. The fix isn't in a release yet, it'll release in v0.107.0 (which should be happening today/tomorrow, from what I understand) |
Component(s)
cmd/opampsupervisor
What happened?
Observations from testing
config file changes
YAML
contents of /home/root/myfolder/super_check after running supervisor
Contents of directory from where supervisor was run
storage: what we give applies for persistent_state.yaml file not effective yaml file.
effective.yaml file is still created in same directory from where supervisor was run
Collector version
master
Environment information
No response
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: