All Projects → snakecharmer → sentry_exporter

snakecharmer / sentry_exporter

Licence: Apache-2.0 License
Prometheus exporter for Sentry

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to sentry exporter

zfs exporter
Prometheus ZFS exporter
Stars: ✭ 52 (+126.09%)
Mutual labels:  prometheus, prometheus-exporter
nvidia gpu exporter
Nvidia GPU exporter for prometheus using nvidia-smi binary
Stars: ✭ 85 (+269.57%)
Mutual labels:  prometheus, prometheus-exporter
prometheus-sentry-exporter
Exports sentry project metrics for prometheus.
Stars: ✭ 32 (+39.13%)
Mutual labels:  sentry, prometheus-exporter
starboard-exporter
A standalone exporter for vulnerability reports and other CRs created by Starboard.
Stars: ✭ 22 (-4.35%)
Mutual labels:  prometheus, prometheus-exporter
magento2-prometheus-exporter
Simple Magento 2 Prometheus Exporter.
Stars: ✭ 40 (+73.91%)
Mutual labels:  prometheus, prometheus-exporter
Helm Monitor
Monitor K8S Helm release, rollback on metrics behavior (Prometheus, Elasticsearch, Sentry)
Stars: ✭ 332 (+1343.48%)
Mutual labels:  sentry, prometheus
pm2-prometheus-exporter
🐰 🐰 pm2 prometheus exporter
Stars: ✭ 90 (+291.3%)
Mutual labels:  prometheus, prometheus-exporter
Ssl exporter
Exports Prometheus metrics for SSL certificates
Stars: ✭ 211 (+817.39%)
Mutual labels:  prometheus, prometheus-exporter
chaos-exporter
Prometheus Exporter for Litmus Chaos Metrics
Stars: ✭ 25 (+8.7%)
Mutual labels:  prometheus, prometheus-exporter
hetzner exporter
Prometheus exporter for Hetzner
Stars: ✭ 16 (-30.43%)
Mutual labels:  prometheus, prometheus-exporter
Php Fpm exporter
A prometheus exporter for PHP-FPM.
Stars: ✭ 251 (+991.3%)
Mutual labels:  prometheus, prometheus-exporter
github exporter
Prometheus exporter for GitHub
Stars: ✭ 21 (-8.7%)
Mutual labels:  prometheus, prometheus-exporter
Mikrotik Exporter
prometheus mikrotik device(s) exporter
Stars: ✭ 248 (+978.26%)
Mutual labels:  prometheus, prometheus-exporter
Bricks
A standard library for microservices.
Stars: ✭ 142 (+517.39%)
Mutual labels:  sentry, prometheus
Github Exporter
Prometheus exporter for github metrics
Stars: ✭ 231 (+904.35%)
Mutual labels:  prometheus, prometheus-exporter
hcloud-pricing-exporter
A prometheus exporter for the current pricing and costs of your HCloud account
Stars: ✭ 19 (-17.39%)
Mutual labels:  prometheus, prometheus-exporter
Exporter exporter
A reverse proxy designed for Prometheus exporters
Stars: ✭ 194 (+743.48%)
Mutual labels:  prometheus, prometheus-exporter
Oracledb exporter
Prometheus Oracle database exporter.
Stars: ✭ 209 (+808.7%)
Mutual labels:  prometheus, prometheus-exporter
freeradius exporter
FreeRADIUS Prometheus Exporter
Stars: ✭ 25 (+8.7%)
Mutual labels:  prometheus, prometheus-exporter
wildfly exporter
A prometheus exporter for Jboss Wildfly
Stars: ✭ 19 (-17.39%)
Mutual labels:  prometheus, prometheus-exporter

Sentry exporter

An exporter for Prometheus that collects metrics from Sentry.

Install

You can download prebuilt binaries from GitHub releases

Building and running

Local Build

export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
go install
go build
./sentry_exporter <flags>

or you can use gox:

go get github.com/mitchellh/gox
gox

Visiting http://localhost:9412/probe?target={sentry_project} will return metrics for a probe against the sentry project

Building with Docker

docker build -t sentry_exporter .
docker run -d -p 9412:9412 --name sentry_exporter -v `pwd`:/config sentry_exporter --config.file=/config/sentry_exporter.yml

Configuration

Sentry exporter is configured via a configuration file and command-line flags (such as what configuration file to load, what port to listen on, and the logging format and level).

Sentry exporter can reload its configuration file at runtime. If the new configuration is not well-formed, the changes will not be applied. A configuration reload is triggered by sending a SIGHUP to the Sentry exporter process or by sending a HTTP POST request to the /-/reload endpoint.

To view all available command-line flags, run ./sentry_exporter -h.

To specify which configuration file to load, use the --config.file flag.

Additionally, an example configuration is also available.

The timeout of each probe is automatically determined from the scrape_timeout in the Prometheus config, slightly reduced to allow for network delays.

Prometheus Configuration

The sentry exporter needs to be passed the target as a parameter, this can be done with relabelling.

Example config:

scrape_configs:
  - job_name: 'sentry'
    metrics_path: /probe
    static_configs:
      - targets:
        - {project name}    # First project name.
        - {second project name}   # Second project name
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: 127.0.0.1:9412  # The sentry exporter's real hostname:port.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].