graphql_exporter

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 14 Imported by: 0

README

graphql_exporter

Prometheus metrics exporter for GraphQL

Description

GraphQL metrics exporter for Prometheus.

This piece of software has one mission: query GraphQL endpoints and transform their results into Prometheus metrics.

Usage

See examples.

With the prebuilt container image

Available on Docker Hub as docker.io/ricardbejarano/graphql_exporter:

Also available on Quay as quay.io/ricardbejarano/graphql_exporter:

Any of both registries will do, example:

docker run -it -p 9199:9199 quay.io/ricardbejarano/graphql_exporter

Building the container image from source

First clone the repository, and cd into it:

docker build -t graphql_exporter .

Now run it:

docker run -it -p 9199:9199 graphql_exporter

Building the binary from source

First clone the repository, and cd into it.

make

Now run it:

./bin/graphql_exporter

License

MIT licensed, see LICENSE for more details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL