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

Metrics not gathered after ip change #438

Closed
gruyaume opened this issue Oct 25, 2024 · 1 comment · Fixed by #451
Closed

Metrics not gathered after ip change #438

gruyaume opened this issue Oct 25, 2024 · 1 comment · Fixed by #451
Labels
bug Something isn't working

Comments

@gruyaume
Copy link
Contributor

gruyaume commented Oct 25, 2024

Bug Description

When the AMF (or any other network function) changes IP address, the IP address in the prometheus_scrape integration (prometheus_scrape_unit_address unit relation data) is not updated.

Note: This issue also occurs in mongodb, we should probably also open the bug in their repo to let the data platform team know about this situation.

Root cause

The prometheus class only listens to relation changed which does not seem to update when the pod IP changes.

Possible solution

We could pass update status as a refresh event to the Prometheus class.

To Reproduce

  1. Deploy core network
  2. Integrate with COS
  3. Kill one pod

Environment

N/A

Relevant log output

N/A

Additional context

I'm opening this bug on a different system from the one running the setup, hence the lack of logs.

@gruyaume gruyaume added the bug Something isn't working label Oct 25, 2024
@dariofaccin
Copy link
Contributor

I also opened this feature request to address this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants