All Projects → UpHabit → Bull_exporter

UpHabit / Bull_exporter

Licence: mit
Prometheus exporter for Bull metrics

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Bull exporter

Consul exporter
Exporter for Consul metrics
Stars: ✭ 323 (+116.78%)
Mutual labels:  hacktoberfest, metrics, prometheus-exporter
Statsd exporter
StatsD to Prometheus metrics exporter
Stars: ✭ 608 (+308.05%)
Mutual labels:  hacktoberfest, metrics, prometheus-exporter
Promcord
📊 Analyze your entire discord guild in grafana using prometheus. Message, User, Game and Voice statistics...
Stars: ✭ 39 (-73.83%)
Mutual labels:  hacktoberfest, metrics, prometheus-exporter
Understat
An asynchronous Python package for https://understat.com/.
Stars: ✭ 88 (-40.94%)
Mutual labels:  hacktoberfest, metrics
Citrix Adc Metrics Exporter
Export metrics from Citrix ADC (NetScaler) to Prometheus
Stars: ✭ 67 (-55.03%)
Mutual labels:  metrics, prometheus-exporter
Windows exporter
Prometheus exporter for Windows machines
Stars: ✭ 1,230 (+725.5%)
Mutual labels:  hacktoberfest, prometheus-exporter
Geeksforgeeks Dsa 2
This repository contains all the assignments and practice questions solved during the Data Structures and Algorithms course in C++ taught by the Geeks For Geeks team.
Stars: ✭ 53 (-64.43%)
Mutual labels:  hacktoberfest, queue
Carbon
Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
Stars: ✭ 1,435 (+863.09%)
Mutual labels:  hacktoberfest, metrics
Tomcat exporter
A Prometheus exporter for Apache Tomcat
Stars: ✭ 99 (-33.56%)
Mutual labels:  metrics, prometheus-exporter
Prometheus
The Prometheus monitoring system and time series database.
Stars: ✭ 40,114 (+26822.15%)
Mutual labels:  hacktoberfest, metrics
Bigbluebutton Exporter
Prometheus exporter for BigBlueButton
Stars: ✭ 117 (-21.48%)
Mutual labels:  metrics, prometheus-exporter
Whisper
Whisper is a file-based time-series database format for Graphite.
Stars: ✭ 1,121 (+652.35%)
Mutual labels:  hacktoberfest, metrics
Prom Confluence Exporter
Prometheus Exporter For Confluence
Stars: ✭ 62 (-58.39%)
Mutual labels:  metrics, prometheus-exporter
Systemd exporter
Exporter for systemd unit metrics
Stars: ✭ 82 (-44.97%)
Mutual labels:  metrics, prometheus-exporter
Druid Exporter
A Golang based exporter captures druid API related metrics and receives druid-emitting HTTP JSON data.
Stars: ✭ 54 (-63.76%)
Mutual labels:  hacktoberfest, prometheus-exporter
Foundatio
Pluggable foundation blocks for building distributed apps.
Stars: ✭ 1,365 (+816.11%)
Mutual labels:  queue, metrics
Memcached exporter
Exports metrics from memcached servers for consumption by Prometheus.
Stars: ✭ 109 (-26.85%)
Mutual labels:  metrics, prometheus-exporter
Prometheus To Cloudwatch
Utility for scraping Prometheus metrics from a Prometheus client endpoint and publishing them to CloudWatch
Stars: ✭ 127 (-14.77%)
Mutual labels:  metrics, prometheus-exporter
Kafka exporter
Kafka exporter for Prometheus
Stars: ✭ 996 (+568.46%)
Mutual labels:  metrics, prometheus-exporter
Redis exporter
Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x, 4.x, 5.x and 6.x
Stars: ✭ 2,092 (+1304.03%)
Mutual labels:  metrics, prometheus-exporter

Bull Queue Exporter

Prometheus exporter for Bull metrics.



UI

Grafana Dashboard

Setup

Prometheus

An existing prometheus server is required to use this project

To learn more about how to setup promethues and grafana see: https://eksworkshop.com/monitoring/

Grafana

The dashboard pictured above is available to download from grafana. It will work aslong as EXPORTER_STAT_PREFIX is not changed.

Queue Discovery

Queues are discovered at start up by running KEYS bull:*:id this can also be triggered manually from the /discover_queues endpoint curl -XPOST localhost:9538/discover_queues

Metrics

Metric type description
bull_queue_completed counter Total number of completed jobs
bull_queue_complete_duration summary Processing time for completed jobs
bull_queue_active counter Total number of active jobs (currently being processed)
bull_queue_delayed counter Total number of jobs that will run in the future
bull_queue_failed counter Total number of failed jobs
bull_queue_waiting counter Total number of jobs waiting to be processed

Kubernetes Usage

Environment variables for default docker image

variable default description
EXPORTER_REDIS_URL redis://localhost:6379/0 Redis uri to connect
EXPORTER_PREFIX bull prefix for queues
EXPORTER_STAT_PREFIX bull_queue_ prefix for exported metrics
EXPORTER_QUEUES - a space separated list of queues to check
EXPORTER_AUTODISCOVER - set to '0' or 'false' to disable queue discovery

Example deployment

see: k8s-sample.yaml for more options

apiVersion: apps/v1

kind: Deployment
metadata:
  name: bull-exporter
  labels:
    app: bull
    role: exporter

spec:
  selector:
    matchLabels:
      app: bull
      role: exporter
  replicas: 1
  template:
    metadata:
      labels:
        app: bull
        role: exporter
    spec:
      containers:
        - name: bull-exporter
          image: uphabit/bull_exporter:latest
          securityContext:
            runAsGroup: 65534 # nobody
            runAsUser: 65534 # nobody
            runAsNonRoot: true
            privileged: false
            allowPrivilegeEscalation: false
            readOnlyRootFilesystem: true
            capabilities:
              drop:
                - all
          resources:
            requests:
              cpu: 100m
              memory: 128M
            limits:
              cpu: 200m
              memory: 512M
          env:
              # space delimited list of queues
            - name: EXPORTER_QUEUES
              value: "mail job_one video audio"

              # find the redis service in the cluster
            - name: EXPORTER_REDIS_URL
              value: redis://redis:6379/0
---
apiVersion: v1
kind: Service
metadata:
  name: bull-exporter
  labels:
    app: bull
    role: exporter
  annotations:
    prometheus.io/scrape: 'true'
    prometheus.io/port: '9538'
spec:
  type: ClusterIP
  ports:
    - name: http
      port: 9538
      targetPort: 9538
  selector:
    app: bull
    role: exporter

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].