#sre (2019-11)

Prometheus, Prometheus Operator, Grafana, Kubernetes

Archive: https://archive.sweetops.com/monitoring/

2019-11-01

s2504s avatar

I want to replace ELK stack that we use for log collecting in favour of Fluentd + CloudWatch. Now I can collect logs from customer application and kubernetes cluster to CW, also we use CW Container Insights as Kubernetes monitoring tools

Austin Cawley-Edwards avatar
Austin Cawley-Edwards
fluentd-cloudwatch v1.7.3-debian-cloudwatch-1.0 for Kubernetes

Deploy the fluentd-cloudwatch v1.7.3-debian-cloudwatch-1.0 in Kubernetes. A Fluentd CloudWatch Helm chart for Kubernetes.

Austin Cawley-Edwards avatar
Austin Cawley-Edwards

The only issue is restricting over-logging namespaces

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

hey Sergey, yes looks like lambda is the only way to go to move logs from S3 to CW

Gareth avatar

Good morning All, I’m looking for some advice around monitoring and wondered if somebody had the time to give me their opinions. I work for a company that’s got multiple AWS accounts, One company account (master) and then one per client which contain many VPC’s normal separated based on DEV, Test, Pre-Live and Prod per product we design. Primarily web sites or applications. We’ve historically used Cloudwatch and created the dashboards as an when we need something above and beyond the default EC2 monitoring but this is become costly and doesn’t really give us a centralised approach or the flexibility to add something that is beyond the basics. I’m looking to bring us in to a more centralised way of working and have been reviewing Prometheus + Grafana and maybe Thanos to get a more historical view of data. I’ve seen the SweetOps articles on Prometheus and read over the kubernetes example but I’m left confused as to what is the best way to architect a Prometheus platform. Most examples I’ve seen look to deploy Prometheus on kubernetes, but I would have thought it would be better off as an EC2 node. There also appears to be a split in the thinking that its would be best to deliver a Prometheus pair of server to each AWS account rather than trying to bridge from say the Companies Master account. Appreciate this is a wide and very generalized question but at this time any comments would be of help to me.

2019-11-02

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Gareth those docs are a bit out of date

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Sorry

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Join us this coming Wednesday for #office-hours and we can discuss

1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

2019-11-08

ennio.trojani avatar
ennio.trojani

Hi all, anyone set up webpage client side metrics getting to Prometheus? I wanted to build a poc and I’ve found this https://www.weave.works/blog/browser-metrics-into-prometheus/. Does anyone have a different solution that would like to share, just to get some different options

2019-11-22

Mitch avatar

Hey all, I’m looking to use https://github.com/cloudposse/prometheus-to-cloudwatch. Trying to figure out what my cloudwatch_namespace is. Any advice on figuring it out?

cloudposse/prometheus-to-cloudwatch

Utility for scraping Prometheus metrics from a Prometheus client endpoint and publishing them to CloudWatch - cloudposse/prometheus-to-cloudwatch

Mitch avatar

My service is running in ECS with a FARGATE deployment

2019-11-24

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@Andriy Knysh (Cloud Posse)

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
cloudposse/prometheus-to-cloudwatch

Utility for scraping Prometheus metrics from a Prometheus client endpoint and publishing them to CloudWatch - cloudposse/prometheus-to-cloudwatch

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
cloudposse/prometheus-to-cloudwatch

Utility for scraping Prometheus metrics from a Prometheus client endpoint and publishing them to CloudWatch - cloudposse/prometheus-to-cloudwatch

    keyboard_arrow_up