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

Moble App: Make the external Grafana URL customizable when using the "share" function #4484

Open
ChristianCiach opened this issue Jun 6, 2024 · 2 comments
Assignees

Comments

@ChristianCiach
Copy link

ChristianCiach commented Jun 6, 2024

What would you like to see!

When sharing alerts from within the Android app, the constructed URL seems to be based on the environment variable GRAFANA_API_URL of the oncall-engine process.

Since our Grafana runs inside the same cluster as the Oncall engine, we would like to use GRAFANA_API_URL=http://grafana.oncall.svc.cluster.local:8080 for the internal communication to the Grafana API, but the mobile app should use an external URL (like https://grafana.my-company.com) when using the share function to share alert groups.

At the moment, it doesn't seem to be possible to configure a separate (external) Grafana URL that should be used by the mobile app.

We are currently using the latest version of Oncall, which is v1.6.2.

Product Area

Mobile App

Anything else to add?

Even though I labeled this issue with part:mobile, I realize that any code change most likely won't affect the mobile app itself. I guess the mobile app just uses the URL that is part of the received alert, so any change to make this URL customizable will most likely affect the backend.

Copy link
Contributor

github-actions bot commented Jun 6, 2024

The current version of Grafana OnCall, at the time this issue was opened, is v1.6.2. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you 😄!

@ChristianCiach
Copy link
Author

ChristianCiach commented Jun 6, 2024

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

2 participants