Demostration video of Openshift SAR, Grafana and Prometheus in OpenShift

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Demostration video of Openshift SAR, Grafana and Prometheus in OpenShift

Phil Brookes

Hey Everyone,

I have put together a video demonstrating the latest developments in metrics for 5.x using Grafana to render the metrics stored in Prometheus. Dave Martin and I have been working on this over the course of the last week.

This video also demonstrates the OpenShift Subject Access Review rules that can be used to restrict / allow access to services.

Prometheus is also using service discovery in this demo to find the services it can scrape metrics for.

https://youtu.be/-37OPXXhrTw

Any questions or comments, please let me know.

Regards,
Phil.


_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev
Reply | Threaded
Open this post in threaded view
|

Re: Demostration video of Openshift SAR, Grafana and Prometheus in OpenShift

David Martin
Nice video Phil!

For anyone wondering about how the proxy stuff works,
we're using this application here https://github.com/openshift/oauth-proxy
It can sit in front of anything as a reverse proxy, providing authentication (& authorisation  via a Subject Access Review request to openshift).

It wasn't shown in this video, but the Prometheus Dashboard can also be accessed via an oauth proxy.
Prometheus doesn't provide any auth at all, so the proxy provides a very useful service on a publicly exposed route.


One other thing that wasn't shown in this video, but was alluded to (and mentioned in a separate video. See https://www.redhat.com/archives/feedhenry-dev/2017-November/msg00023.html)
was the service discovery mechanism prometheus used.
The fh-sync-server has a particular annotation, which proemthues looks for. It then starts gathering metrics from the /metrics endpoint in fh-sync-server.

WRT Grafana, although 2 default dashboards were included with it (Promtetheus & fh-sync-server), the user is free to add their own dashboards or tweak the existing ones.

On 11 December 2017 at 16:29, Phil Brookes <[hidden email]> wrote:

Hey Everyone,

I have put together a video demonstrating the latest developments in metrics for 5.x using Grafana to render the metrics stored in Prometheus. Dave Martin and I have been working on this over the course of the last week.

This video also demonstrates the OpenShift Subject Access Review rules that can be used to restrict / allow access to services.

Prometheus is also using service discovery in this demo to find the services it can scrape metrics for.

https://youtu.be/-37OPXXhrTw

Any questions or comments, please let me know.

Regards,
Phil.


_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev




--
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (feedhenry, mobile-internal)

_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev
Reply | Threaded
Open this post in threaded view
|

Re: Demostration video of Openshift SAR, Grafana and Prometheus in OpenShift

David Martin
re-replying with aerogear-dev jboss mailing list

On 11 December 2017 at 16:47, David Martin <[hidden email]> wrote:
Nice video Phil!

For anyone wondering about how the proxy stuff works,
we're using this application here https://github.com/openshift/oauth-proxy
It can sit in front of anything as a reverse proxy, providing authentication (& authorisation  via a Subject Access Review request to openshift).

It wasn't shown in this video, but the Prometheus Dashboard can also be accessed via an oauth proxy.
Prometheus doesn't provide any auth at all, so the proxy provides a very useful service on a publicly exposed route.


One other thing that wasn't shown in this video, but was alluded to (and mentioned in a separate video. See https://www.redhat.com/archives/feedhenry-dev/2017-November/msg00023.html)
was the service discovery mechanism prometheus used.
The fh-sync-server has a particular annotation, which proemthues looks for. It then starts gathering metrics from the /metrics endpoint in fh-sync-server.

WRT Grafana, although 2 default dashboards were included with it (Promtetheus & fh-sync-server), the user is free to add their own dashboards or tweak the existing ones.

On 11 December 2017 at 16:29, Phil Brookes <[hidden email]> wrote:

Hey Everyone,

I have put together a video demonstrating the latest developments in metrics for 5.x using Grafana to render the metrics stored in Prometheus. Dave Martin and I have been working on this over the course of the last week.

This video also demonstrates the OpenShift Subject Access Review rules that can be used to restrict / allow access to services.

Prometheus is also using service discovery in this demo to find the services it can scrape metrics for.

https://youtu.be/-37OPXXhrTw

Any questions or comments, please let me know.

Regards,
Phil.


_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev




--
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (feedhenry, mobile-internal)



--
David Martin
Red Hat Mobile
Twitter: @irldavem
IRC: @irldavem (feedhenry, mobile-internal)

_______________________________________________
feedhenry-dev mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/feedhenry-dev