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

Support discrete OnCall app plugins per Grafana Org, within Grafana OSS #962

Open
devinrcheevers opened this issue Dec 8, 2022 · 3 comments
Labels
feature request New feature or request needs triage

Comments

@devinrcheevers
Copy link
Contributor

devinrcheevers commented Dec 8, 2022

Grafana OSS provides ability to create 'organizations'.

An organization is an entity that helps you isolate users and resources such as dashboards, annotations, and data sources from each other

A single grafana 'instance' can have multiple orgs.

My understanding is that the OnCall app plugin is associated with the instance of Grafana, not the specific org. In other words, I believe you can only have one OnCall app plugin per Grafana Instance.

This may be a limitation of the app plugin archicture, but would it be possible to provide the ability to have a per org oncall plugins?

@devinrcheevers devinrcheevers added the feature request New feature or request label Dec 8, 2022
@devinrcheevers
Copy link
Contributor Author

This is related to: #764

@Matvey-Kuk
Copy link
Contributor

The ability to have one Grafana OnCall instance per multiple Grafana instances is something I don't expect being reasonable to support for OnCall OSS. Mostly because it will increase variety of environments we support. Even though that's exactly how we launch OnCall in Grafana Cloud, we provide a few features which should help OSS uses deal with multiple teams and grafanas within the company:

  1. There is a Team toggler
  2. It's possible to set up Grafana OnCall in one Grafana & connect a few other Grafanas to it as alert sources.

@PhantomPhreak
Copy link

PhantomPhreak commented Mar 23, 2023

There are a few problems:

  1. In case if have multiple Oncall backends used by a single Grafana instance (one per Grafana Org, because Oncall backend is attached via Oncall plugin, and plugin's configuration is independent in different grafana Orgs), we have a problem mentioned in Respect Grafana Org in the links generated by Oncall #764 .

But since Oncall is not allowing to add Org Viewers into rotation and sending alerts to them (see #524 (comment) and https://grafana.com/docs/oncall/latest/configure-user-settings/#configure-user-notification-policies), there are no other way to configure rotations/alerts for the users without giving them Admin/Editor rights in the Org. Giving Admin/Editor rights in whole Org just for the ability to recieve alerts is way too much. That's related to OSS Grafana

  1. In case if one OSS Grafana instance is allowed to have a single Oncall Instance attached, then it's not gonna be possible to configure Oncall for the multiple teams, without giving them Editor/Admin rights to the Org.

From my perspective, it would be better to have a single Oncall backend for OSS Grafana instance (less entities to manage), but have a way to configure access permissions per Team (not per user role in the Org) for Oncall.

If it's not possible with a current architecture, then it would be nice to render a proper links to Oncall in Grafana, installed in the different Orgs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

4 participants