emoji_exporter

command module
v0.0.0-...-9bb5021 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 11 Imported by: 0

README

Prometheus Exporter for Twitter Emojis

Aerial Tramway Emoji

Proof of Concept, using Emojitracker APIs:

Usage

Copy example.env to .env, and modify as necessary:

Variable What it does
LOG_LEVEL Log verbosity of the exporter. Options are: debug, info, warn, error
Local

Run locally with:

go run *.go
Docker

Launch the exporter, as well as a prometheus instance with:

docker-compose up -d

Prometheus will be available, on http://localhost:9090

The docker-compose file also comes with Grafana, with a pre-configured dashboard, on http://localhost:3000 (username/password: admin/foobar)

screenshot of Grafana dashboard

An interactive version of the above screenshot is available here

If you want to support me making silly things

https://ko-fi.com/lucydavinhart

Documentation

Overview

A minimal example of how to include Prometheus instrumentation.

Jump to

Keyboard shortcuts

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