Monitoring, Logging, And Alerting In Kubernetes

Monitoring, Logging, And Alerting In Kubernetes

DevOps Toolkit

1 год назад

27,013 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@DevOpsToolkit
@DevOpsToolkit - 13.06.2022 17:14

IMPORTANT: I made a mistake in the video by saying that AlertManager is querying Prometheus. That's incorrect. It's the other way around. Prometheus is evaluating the rules and sending alerts to AlertManager which, in turn, is forwarding them to final destinations like Slack, email, etc.

What do you use for monitoring, logging, and alerting? What's your favorite stack?

Ответить
@student_voice
@student_voice - 18.08.2023 19:42

Thnks man. I got error LogfmtErr. How to solved it?

Ответить
@ZachLanich
@ZachLanich - 15.05.2023 08:11

You're awesome

Ответить
@gaetanbloch7119
@gaetanbloch7119 - 11.03.2023 11:50

Thanks!

Ответить
@richarmunicosamaniego8216
@richarmunicosamaniego8216 - 05.03.2023 06:40

MELT stack = Monitoring, Event (alerting +OnCall), Logging and Tracing

Ответить
@SerhiiHromov
@SerhiiHromov - 09.02.2023 21:29

How did I miss this video, 2 days wasted. Thanks

Ответить
@luismorteo6112
@luismorteo6112 - 06.12.2022 10:07

as ever you are rigth, i try loki and wooow! woks perfect with grafana thanks a lot genius!

Ответить
@azerbaijan50
@azerbaijan50 - 03.11.2022 20:11

Nice explanation! Thank you very much.

Ответить
@vn7057
@vn7057 - 31.10.2022 00:17

After few mo later

Grafana stack extended make more flexible
Grafana tempo + open telemetry for auto instrument + Grafana agent
Grafana loki
Prometheus
Grafana Alertmanger

Basically included
Metrics , log, apm/tracing and alert
Also Grafana able to adding silence by UI so we don’t need expose Prometheus alertmanger to make alert mute

Ответить
@vn7057
@vn7057 - 14.07.2022 00:00

Grafana is a great tools but somehow like Jenkins
If the plug-in no longer maintain then you may get trouble it have chance
may your Grafana unable to perform upgrade otherwise graph will dead

But I do love the trend they go for Loki+Tempo+Display Prometheus

Love to see if there have tools to generate dashboard and integrated 3 of them

Do you have plan or already have video for Tempo?

Ответить
@soubinan
@soubinan - 12.07.2022 14:25

Great video!!! Observability is so important and allow a lot off evolution not yet explored today
I have the mnemonic word AMLET for alerting, monitoring, logging, eventing (context and others) and tracing
I think also that grafana is the de facto place to have all data to observe even as a saas)
thanks to tempo and loki we can add more meaning to metrics dashboards (and I have a small preference for sensu go over robusta to serve as a glue around all that) and leverage all that with a runbook system for auto remediation (stackstorm, awx, ansible platform, jenkins, rundeck....). The dream!

Ответить
@jgarfield
@jgarfield - 22.06.2022 00:16

How do we configure SSO for Grafana login?

Ответить
@joebowbeer
@joebowbeer - 17.06.2022 03:42

I concur with others that Tracing is conspicuously absent, as is OpenTelemetry (OTEL), which is the emerging standard that ties all these CNCF pieces together with others such as Fluent Bit

Ответить
@dmsalomon
@dmsalomon - 15.06.2022 18:27

Great stuff, but the in my opinion the really tricky part is managing these things at scale. First of all there is the storage aspect, but also Prometheus seems to breakdown when the cluster gets too big. At that point you either need to use a federated setup or something else and it would be useful to hear your thoughts on that.

Ответить
@coocoobau
@coocoobau - 14.06.2022 13:47

I highly recommend kube-prometheus-stack, all-in-one helm chart to deploy prometheus, grafana and alertmanager, each with its own operators. So instead of pre-defining things in values.yaml, you can use CRs to define targets, rules, alerts, dashboards, datasources, etc - in a Kubernetes way. For the logging part, I found banzaiclud's logging-operator to be very interesting, again a way to simplify the deployment of software for logging collection, aggregation and shipment (Loki being just one possible destination). It is also built around an operator and deploys instances of fluentd and fluentbit.

Ответить
@fpvclub7256
@fpvclub7256 - 14.06.2022 10:43

Fantastic!

Ответить
@lhxperimental
@lhxperimental - 13.06.2022 22:12

This could not have come at a better time! Looking forward to part2 with tracing, open telemetry etc. and maybe also cover the maintenance aspects. Prometheus does automatic data purging which makes it maintenance free; how does loki compare with it. With logs the data volumes are going larger and much more workload dependent so one could easily overwhelm the system. Plus some organizations may need log archives to be kept for several years, how loki supports that use case would be interesting to see. My organization uses elastic search. Can loki be a replacement for elastic search today, or in future? The reason I would prefer loki over elastic is because I can co-relate logs with metrics, events and maybe even traces.

In case of java/spring boot based apps, tracing can be very simple to achieve with auto-instrumentation. This would provide great visibility into the working of the application. I am myself exploring it this week.

Ответить
@daivol666
@daivol666 - 13.06.2022 22:04

It would be interesting to see an example using opentelemetry to gather the observability data (avoding agents vendor lock-in) and use the otel pipelines to expose the data to different vendor solutions.

Ответить
@jirityr
@jirityr - 13.06.2022 21:19

If you are serious about monitoring, you need to setup your own monitoring system even on managed kubernetes like EKS, GKE and AKS. I hope you will take the topic of monitoring further with introduction of Prometheus Operator, Grafana Cloud Agent (and GCA Operator), Grafana Operator and perhaps also Grafana Tempo. I would also love to see separate video about VictoriaMetrics that is much better than Prometheus itself.

Ответить
@samehammar8062
@samehammar8062 - 13.06.2022 19:39

Thanks for this great video , what about black-box exporter ?

Ответить
@RaviSharma-vw7py
@RaviSharma-vw7py - 13.06.2022 18:35

Thanks Viktor for your nice video & informative , really helpful

Ответить
@nas1k
@nas1k - 13.06.2022 18:27

I think we should include Tracing here. It can be Jaeger, Temp or something else. And all those thing should be standardized by OpenTelemetry.

Ответить
@vMILYAv
@vMILYAv - 13.06.2022 18:16

VictoriaMetrics (Operator)

Ответить
@oftheriverinthenight
@oftheriverinthenight - 13.06.2022 17:55

In the latest versions grafana also shows the alert manager alerts and can be silenced from there too (bell icon)

Ответить
@jemag
@jemag - 13.06.2022 17:26

Would be interesting to have a deeper dive, things like Thanos, Tempo, Mimir, etc. Also, what do you think of using their jsonnet libraries to manage those? I found the community helm charts to be not that well maintained and jsonnet is actually pretty flexible for an enterprise setup

Ответить
@MusheghDavtyan
@MusheghDavtyan - 13.06.2022 17:17

very interesting

Ответить
@onemanops
@onemanops - 13.06.2022 17:01

Yes!

Ответить