grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.46k stars 279 forks source link

Mobile app: need multiple accounts / integrations for DEV and PROD grafana oncall installations. #1415

Closed ksa-real closed 9 months ago

ksa-real commented 1 year ago

It seems that the mobile apps (Android / iOS) cannot be integrated with multiple Grafana Oncall accounts. We have two OSS deployments: DEV and PROD. This is to roll out a new version to a non-prod environment first. The ask is to be able to add Grafana Oncall mobile app to both deployments and be able to switch between these inside the app.

PhantomPhreak commented 1 year ago

Having the same case with DEV/PROD OSS installations, it would be nice to have them both in the app

Dieterbe commented 1 year ago

what do you think of having 2 apps installed? one linked to your dev, one to your ops. these apps could even be different versions (e.g. the beta/preview linked to dev).

does this make sense or do you still prefer to use the same app for both dev and prod?

ksa-real commented 1 year ago

I prefer the same app with multiple accounts. I think there are two use cases:

Multi-account app also covers fancier scenarios: like handling DevOps working with multiple Grafana installations (contractor?) or additional personal or cloud installation, e.g. for monitoring energy usage or heater errors. One may need a third account for that.

cvvs commented 1 year ago

I support several different cloud and on-prem accounts for different orgs, and would prefer multiple accounts in one app. As noted by Sergei above, this fits in with the model used by most of the other mobile apps that I interact with daily.

Dieterbe commented 1 year ago

this is all very useful information, thanks. we have started designing a multi-account feature. it will probably look something like this:

cvvs commented 1 year ago

Unique alerts per account isn't high on my list of requirements. That might be valuable for teams supporting different environments, but not for my use case.

ksa-real commented 1 year ago

+1. Once I woke up, it is fine to use UI to check where the alert is coming from. So, for me particularly personalized settings are good to have but not critical.

inkel commented 1 year ago
  • for settings, we're not quite sure yet. would you prefer your notification/sound settings apply across all your accounts? or do you need to differentiate them between accounts?

I think one global setting is the best course of action right now. If I hypothesize I can imagine a scenario where I would like to have different sounds for each account, however, it could definitely be a YAGNI thing.

wz2b commented 1 year ago

I would like to upvote this. My issue is similar to this, two accounts, but instead of dev/prod I actually have a work account and a home one. I use the home one for learning, experimenting, and home automation stuff, it's kind of my R&D playground. The work one is for some IIoT / Industry 4.0 stuff we're trying to demo for potential customers.

I prefer the same app with multiple accounts, I wouldn't mind if I had to 'switch' between them if it was easy, the main thing is to be able to receive push notifications from the other one if it's in the background / not the one I'm switched to.

Will follow this ticket for news.

imtoori commented 9 months ago

This has been implemented and it will be out to beta testers by the end of the week!

Here is a quick demo https://www.loom.com/share/13791f6f27c84146b0bc9718a752124d?sid=32d313aa-3969-4a74-bb97-0d8e577160b2

Thanks everyone for requesting this feature and I'm looking forward to getting some feedback :)

ksa-real commented 8 months ago

One complain I have about the design is that it makes too much effort to switch profiles. It takes 4 taps to switch:

I think it is better to implement this in two taps:

Makes sense to open another issue?