Skip to content

IrokezPetrovic/angie_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ussage

Configure ANGIE

server {
    listen 8080;
    access_log off;

    location  /angie_status/ {
        api /status/;
        allow 127.0.0.1;
        deny all;
    }
}

Run exporter

angie_exporter --listenaddr=0.0.0.0 --listenport 9197 --scrapeurl=https://localhost:8080/angie_status

Params:

  • --listenaddr: Address, listened by exporter. Default 0.0.0.0
  • --listenport: Post, listened by exporter. Default 9197
  • --scrapeurl: URL, provides status of ANGIE. Default https://localhost:8080/angie_status

Build

Build specific

go build -ldflags "-X main.AngieExporterVersion=1.0.0" angie_exporter.go

Build dist

make dist

Releases

No releases published

Packages

No packages published