Skip to content

FH-Cloud-Computing/prometheus-sd-exoscale-instance-pools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus service discovery for Exoscale Instance Pools

This is a service discovery agent for Prometheus that uses Exoscale instance pools.

You can run it using Docker:

docker run \
    # Run in background
    -d
    # Mount the data directory
    -v /srv/service-discovery:/var/run/prometheus-sd-exoscale-instance-pools \
    janoszen/prometheus-sd-exoscale-instance-pools \
    # Provide the Exoscale API key here:
    --exoscale-api-key EXO... \
    # And the secret:
    --exoscale-api-secret ... \
    # Run the `exo zone` command to get this value
    --exoscale-zone-id 4da1b188-dcd6-4ff5-b7fd-bde984055548 \
    # Run the `exo instancepool list` command to get this value:
    --instance-pool-id ...
    # Provide the Prometheus service port
    --prometheus-port 9100

Note: This service discovery agent does NOT satisfy the Sprint 2 requirements because it writes the service discovery file to the wrong path. (/var/run/prometheus-sd-exoscale-instance-pools instead of /srv/service-discovery)

About

Prometheus service discovery for Exoscale instance pools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages