Simwar / prometheus_counter

A simple app exposing an ever increasing prometheus counter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prometheus_counter

A simple app exposing an ever increasing prometheus counter

Description

This is a simple application exposing a prometheus /metrics endpoint on localhost:8000. The application exposes 4 metrics

  1. static_increment_counter, a prometheus counter incremented every 2 seconds by 2.
  2. static_increment_gauge, a prometheus gauge incremented every 2 seconds by 2.
  3. linear_increment_counter, a prometheus counter incremented in a linear fashion every 2 seconds.
  4. linear_increment_gauge, a prometheus gauge incremented in a linear fashion every 2 seconds.

The application has been packaged in a container, which you can pull from here :https://cloud.docker.com/repository/registry-1.docker.io/hfaivresaito/prometheus_counter_test

About

A simple app exposing an ever increasing prometheus counter


Languages

Language:Python 92.4%Language:Dockerfile 7.6%