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

Cos proxy is sending to prometheus targets, from only one prometheus-target relation #143

Open
err404r opened this issue Jun 19, 2024 · 3 comments

Comments

@err404r
Copy link

err404r commented Jun 19, 2024

Bug Description

We have several telegraf apps related to prometheus-target interface of cos-proxy.
On prometheus we could see data only from first telegraf unit. As well as within relation data
On cos proxy unit I could see data from relations to all telegraf units

To Reproduce

Relate several telegraf units to one cos-proxy

Environment

Charm revision 74

Relevant log output

Unfortunately no logs to add

Additional context

No response

@sed-i
Copy link
Contributor

sed-i commented Jun 19, 2024

Does the deployment look something like this?

graph LR

subgraph LXD
telegraf ---|http| cos-proxy
telegraf ---|prometheus-rules| cos-proxy
end

subgraph COS
prometheus
end

cos-proxy ---|prometheus_scrape| prometheus
Loading

@err404r
Copy link
Author

err404r commented Jul 2, 2024

yes, but we have several telegraf applications related to one cos-proxy

@lucabello
Copy link
Contributor

We should try to reproduce this issue with a few telegraf deployments. It might be just a timing issue, with cos-proxy taking a long time to settle with too many telegraf deployments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants