Closed DazWilkin closed 5 years ago
Hi @DazWilkin can you provide the docker-compose file that you are using or some other steps to repro it? I gave a few tries and wasn't able to repro it.
Here's the docker-compose entry:
opencensus-agent:
image: omnition/opencensus-agent:0.1.9
command:
- --config=/configs/ocagent.yaml
environment:
GOOGLE_APPLICATION_CREDENTIALS: /secrets/opencensus.json
volumes:
- "${PWD}/image-transparency-190806-2a307f0c3096.json:/secrets/opencensus.json"
- "${PWD}/ocagent.yaml:/configs/ocagent.yaml"
expose:
- "9090" # ocagent.yaml defined Prometheus Exporter
- "9999" # ocagent.yaml defined zPages
- "55678" # ocagent.yaml defined OpenCensus Receiver
ports:
- 9190:9090 # Debugging: Prometheus Metrics Exporter
- 9999:9999 # Debugging: zPages
healthcheck:
test:
- CMD
- curl
- --fail
- "http://opencensus-agent:9090/metrics"
interval: 30s
timeout: 30s
retries: 3
I think I may know what I did wrong.
I think I had the Prometheus endpoint set to :9100
rather than :9090
and the healthcheck was failing and restarting. I'll try to repro that next week and will update. Until then, please spent no more time investigating. Apologies!
I'm unable to repro the issue.
I think it wasn't due to a misconfigured healthcheck (as I tried that).
Please answer these questions before submitting a bug report.
What version are you using?
omnition/opencensus-agent:0.1.9
What did you do?
Version bumped the agent from
0.1.8
to0.1.9
What did you expect to see?
Continued working behavior (as with
0.1.8
):What did you see instead?
Recurring
Received "terminated" signal from OS, terminating process
Additional context
Add any other context about the problem here.
I'm running the containers using Docker Compose and am confident the singular change was the version bump.
ocagent.yaml: