Skip to content

youthdev/prometheus_external_version_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QUICKSTART

docker run -v ./config.yaml:/app/config.yaml -p 8000:8000 youthdev/prometheus_external_version_exporter

Example config.yaml

services:
  shopee:
    url: http://shopee.vn
    regex: '[0-9]+\.[0-9]+\.[0-9]'
  sendo:
    url: http://sendo.vn
    regex: '[0-9]+\.([0-9]+\.[0-9])'

The script will try to get the first matched group of regex if possible, if not, it will use the whole matched string.

Example of exposed metrics:

external_service_version{name="shopee",version="3.56.6"} 3.0005600006e+010
external_service_version{name="sendo",version="99.8"} 9.900008e+06

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors