Skip to content

nikonov1101/prom-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prom-proxy
=========

The simpliest possible http proxy. Must be deployed at the network edge, 
and forward scrapper's request inside the network.

Then, configure you scrapper to get metrics from a single node,
but different URLs (note that target is the same):

- job_name: "service-1"
  metrics_path: "/metrics_1"
  static_configs:
    - targets:
      - "prom-proxy:5001"

- job_name: "service-2"
  metrics_path: "/metrics_2"
  static_configs:
    - targets:
      - "prom-proxy:5001"

About

dead simple prometheus request forwarder

Resources

License

Stars

Watchers

Forks