I think it's this part:
<h6 className="dropdown-header">Alert source links:</h6>
{alert.alertmanager.map((am) => (
<MenuLink
key={am.name}
icon={faExternalLinkAlt}
text={am.name}
uri={am.source}
afterClick={afterClick}
/>
))}
So looks like am.source
is wrong. This data is coming from the alert-manager?
It comes from alertmanager.
Sounds like you need to configure --web.external-url
See https://www.robustperception.io/using-external-urls-and-proxies-with-prometheus
Thanks for the answer. I think that's not the issue. I see that I have --web.external-url
specified in every single alert-manager deployment. I also noticed that for some alerts I see it correct and for most I see some random string. I have no idea what's the difference between them. I'm trying to figure it out.
I found the problem. Some of my alerts were from the other Prometheus instance (but by mistake they had wrong cluster-name and ID in the alert spec). This is why I was thinking alerts are coming from the proper Prometheus server. The other one had no --web.external-url
like @prymitive said. Thanks! I'm closing it.
Owner Name | prymitive |
Repo Name | karma |
Full Name | prymitive/karma |
Language | TypeScript |
Created Date | 2018-09-09 |
Updated Date | 2023-03-17 |
Star Count | 1921 |
Watcher Count | 33 |
Fork Count | 166 |
Issue Count | 2 |
Issue Title | Created Date | Updated Date |
---|