prometheus   2107

« earlier    

Checking OpenMetrics output is valid – Robust Perception | Prometheus Monitoring Experts
Python クライアント使えば、パースしてエラーが分かると。
prometheus  python 
23 hours ago by summerwind
Telemetry: add prometheus endpoint option · Issue #2937 · hashicorp/vault
You can use blackbox for that. So for example in the blackbox.yml you can have
vault_unseal: prober: http timeout: 5s http: valid_status_codes: [200,429] method: GET no_follow_redirects: true fail_if_ssl: false fail_if_not_ssl: false fail_if_matches_regexp: - 'sealed":true'

The valid status codes are 200 and 429, because the standby node replies with a 429 (which is expected) and the active node with a 200

The rule in alertmanager to trigger the alerts:
- alert: Vault_node_sealed expr: probe_success{job="vault_sealed"} != 1 for: 1m labels: severity: xxx annotations:xxx

You can also use statsd-exporter to gather more specific stats and better alerts with expressions like:
expr: sum(increase(vault_core_leadership_lost_count{job="example"}[1h])) > 5

Hope it helps.
vault  prometheus  alerting  snippets 
yesterday by bbrown
stefanprodan/dockprom: Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager
Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager - stefanprodan/dockprom
github  docker  prometheus  monitoring  grafana 
5 days ago by snahor
SuperQ/smokeping_prober: Prometheus style smokeping
This prober sends a series of ICMP (or UDP) pings to a target and records the responses in Prometheus histogram metrics
prometheus  smokeping 
7 days ago by some_hren

« earlier    

related tags

adapter  alerting  alertmanager  analytics  apigateways  article  aws  boilerplate  bpf  cheatsheet  cli  cluster  cncf  containers  cratedb  database  depaul  design  development  devops  dns  docker  ebpf  ecs  eks  elastic  envoy  exporter  github  gitlab  go  golang  grafana  grpc  ha  haproxy  helm  high-availability  important  installation  instrumentations  json  k8s  kube-state-metrics  kubernetes  linux  log  logging  logs  makerspace  mattermost  metric  metrics  monitoring  mysql  network  networking  observability  oracle  osquery  pingprom  postgresql  process  python  rails  relabel  remote  ruby  runbook  smokeping  snippets  software-development  storage  sysdig  tdd  template  testing  thanos  tools  unittest  varnish  vault 

Copy this bookmark:



description:


tags: