Skip to content

permutive/bunnycdn_exporter

Repository files navigation

BunnyCDN Exporter for Prometheus

This is a simple server that scrapes BunnyCDN stats and exports them via HTTP for Prometheus consumption.

Getting Started

To run it:

./bunnycdn_exporter [flags]

Help on flags:

./bunnycdn_exporter --help

For more information check the source code documentation. All of the core developers are accessible via the Prometheus Developers mailinglist.

Usage

Direct

bunnycdn_exporter --bunnycdn.api-key="<API_KEY>"

Or by using an environment variable for setting the API key:

export BUNNYCDN_API_KEY="<API_KEY>"
bunnycdn_exporter"

Docker

Docker Pulls

To run the bunnycdn exporter as a Docker container, run:

docker run -p 9584:9584 permutive/bunnycdn-exporter --bunnycdn.api-key="<API_KEY>"

alternatively, the API key can be passed as an environment variable:

docker run -p 9584:9584 -e BUNNYCDN_API_KEY="<API_KEY>" permutive/bunnycdn-exporter"

Development

Go Report Card Code Climate

Building

make build

Testing

Build Status

make test

License

Apache License 2.0, see LICENSE.

About

This is a simple server that scrapes BunnyCDN stats and exports them via HTTP for Prometheus consumption.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published