Skip to content

hrishin/prometheus-101-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Prometheus workshop

Example application: Read Evaluate Print Loop

Its a text processing application. Following is the schematic of application

loop;
    accept text input from STDIN;
    process the text data;
    print the processed output to STDOUT;

Each loop we consider it as a text processing Job

The application is refereed from https://github.com/census-instrumentation

Lets see it in action

export GO111MODULE=on
go build -o repl main.go

hello world

Whats the problem then?

We want metrics about

  1. Total number of jobs is been processed?
  2. How much time it is taking to process an one job?
  3. In each job how much amount of data it is processing?

Step-1 : Application

Run the application

go build -o repl main.go

About

prom-demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages