prometheus-junkyard / promdash

Prometheus Dashboard Builder
http://prometheus.io/
Apache License 2.0
271 stars 48 forks source link

Add configuration to allow Read only mode. #480

Open skyscooby opened 8 years ago

skyscooby commented 8 years ago

From what I could tell there is no way to block the Servers Tab or turn off the ability to create/delete directories and dashboards. It would be great if the PromDash had a kiosk mode or immutable mode configuration flag that blocked access the CUD of CRUD. (with exception of the date/time range / interval selection etc..)

It doesn't need to be a full authentication system. Just a way to expose a PromDash for use without it being destroyed either unintentionally or maliciously.

juliusv commented 8 years ago

@skyscooby One workaround to currently achieve that is to put a reverse proxy in front of it that only allows GET requests.

Btw., we generally recommend using Grafana these days, as it is already a very popular dashboarding solution and has had Prometheus support for a while now. There'll be less effort going into PromDash in the future, unless users feel strongly about it and pick it up.

skyscooby commented 8 years ago

@juliusv I am just getting started with Prometheus and I have self discovered this about Grafana in the past 3 hours.. I do say however I have never had a more positive experience with two pieces of software working together both are rich at what they do, high performance and don't try and solve problems outside their scope.. Keep up the great work guys!

juliusv commented 8 years ago

@skyscooby Great to hear, thanks :)

We can still leave this issue open in case anyone ever feels like investing into it.