Métriques applicatives avec prometheus et grafana

Métriques applicatives avec prometheus et grafana

Snowcamp 2018

Ba2198386e326d6e3ca57b2271d861e9?s=128

Yves Brissaud

January 25, 2018
Tweet

Transcript

  1. Métriques applicatives avec prometheus et grafana Snowcamp 2018 | @_crev_

  2. Yves Brissaud Tech lead Clou Nativ . Faster. Deploy your

    software applications into your own dedicated scalable infrastructure without needing any sysadmin skills. Try https://www.squarescale.com with 100 o er using SNOWCAMP18 at account creation Snowcamp 2018 | docker run --rm squarescale/ybrissaud | @_crev_ | @sqscale
  3. Snowcamp 2018 | @_crev_

  4. métier temporel tendances alertes Snowcamp 2018 | @_crev_

  5. Snowcamp 2018 | @_crev_

  6. Snowcamp 2018 | @_crev_

  7. métier Snowcamp 2018 | @_crev_

  8. nagios sensu datadog ... Snowcamp 2018 | @_crev_

  9. Snowcamp 2018 | @_crev_

  10. métier lisibilité Snowcamp 2018 | @_crev_

  11. elasticsearch, kibana graylog papertrail loggly ... Snowcamp 2018 | @_crev_

  12. Snowcamp 2018 | @_crev_

  13. métier Snowcamp 2018 | @_crev_

  14. rollbar airbrake sentry ... Snowcamp 2018 | @_crev_

  15. Snowcamp 2018 | @_crev_

  16. Snowcamp 2018 | @_crev_

  17. métier Snowcamp 2018 | @_crev_

  18. administrate admin-on-rest ... Snowcamp 2018 | @_crev_

  19. + Snowcamp 2018 | @_crev_

  20. Prometheus Time series database http ://prometheu .i / Snowcamp 2018

    | @_crev_
  21. GET /metrics GET /metrics GET /metrics Snowcamp 2018 | @_crev_

  22. protobuf package io.prometheus.client; option java_package = "io.prometheus.client"; //... message MetricFamily

    { optional string name = 1; optional string help = 2; optional MetricType type = 3; repeated Metric metric = 4; } Snowcamp 2018 | @_crev_
  23. protobuf léger scrict schema lisibilité Snowcamp 2018 | @_crev_

  24. text/plain projects_count 18 connection_pool_count 5 connection_pool{details="connections"} 5 connection_pool{details="busy"} 2 connection_pool{details="dead"}

    0 connection_pool{details="idle"} 3 connection_pool{details="waiting"} 0 active_users 3 # HELP version Version number version{service="web"} 0.1299 Snowcamp 2018 | @_crev_
  25. text/plain lisibilité poids validation Snowcamp 2018 | @_crev_

  26. Snowcamp 2018 | @_crev_

  27. http_requests_total{job="apiserver", handler="/api/comments"} active_users{environment="production"} github_board_issues_wip / github_board_number_of_developers github_board_issues_count / github_board_number_of_developers Snowcamp

    2018 | @_crev_
  28. Snowcamp 2018 | @_crev_

  29. Snowcamp 2018 | @_crev_

  30. Snowcamp 2018 | @_crev_

  31. Snowcamp 2018 | @_crev_

  32. Grafana The ope platform for beauti analytics and monitoring http

    ://grafan .co / Snowcamp 2018 | @_crev_
  33. Snowcamp 2018 | @_crev_

  34. Snowcamp 2018 | @_crev_

  35. Prometheus Elasticsearch In uxDB Cloudwatch ... Snowcamp 2018 | @_crev_

  36. Snowcamp 2018 | @_crev_

  37. Snowcamp 2018 | @_crev_

  38. Snowcamp 2018 | @_crev_

  39. (Demo Time) https://github.com/eunomie/app-metrics-demo Snowcamp 2018 | @_crev_

  40. ? Snowcamp 2018 | @_crev_

  41. basic_auth bearer_token tls Snowcamp 2018 | @_crev_

  42. Snowcamp 2018 | @_crev_

  43. Service discovery kubernetes consul DNS (SRV records) - job_name: 'metrics'

    dns_sd_configs: - names: - _metrics._tcp.app.internal.example.net Snowcamp 2018 | @_crev_
  44. GET /metrics serverless, batch jobs, security Snowcamp 2018 | @_crev_

  45. push gateway aggrégateur événements cache https://github.com/prometheus/pushgateway Snowcamp 2018 | @_crev_

  46. ? Snowcamp 2018 | @_crev_

  47. < v2 >= v2 Snowcamp 2018 | @_crev_

  48. ? scrape_interval storage.tsdb.retention Snowcamp 2018 | @_crev_

  49. Snowcamp 2018 | @_crev_

  50. Votre application vos données format texte /metrics Snowcamp 2018 |

    @_crev_
  51. Prometheus trouve vos instances conserve vos données temporellement recherche et

    calcule Snowcamp 2018 | @_crev_
  52. Grafana a chage dynamique consolidé (logs, monitoring, etc) Snowcamp 2018

    | @_crev_
  53. métier temporel tendances alertes Snowcamp 2018 | @_crev_

  54. Thanks Try https://www.squarescale.com with 100 o er using SNOWCAMP18 at

    account creation Snowcamp 2018 | docker run --rm squarescale/ybrissaud | @_crev_ | @sqscale | yves.brissaud@squarescale.com