speakerdeck_exporter

command module
v0.0.0-...-348cdae Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 12 Imported by: 0

README

SpeakerDeck Prometheus Exporter

SpeakerDeck Prometheus exporter makes it possible to monitor stats of various decks by various authors on SpeakerDeck using Prometheus.

Project status

Build Status Go Report Card codecov

Exported Metrics

  • speakerdeck_scrape_collector_state
    The status of the last metric scrape: 1 for a successful scrape and 0 for a failed one.
  • speakerdeck_scrape_collector_duration_seconds
    Duration of the last metric scrape in seconds.
  • speakerdeck_stars
    The stars of a deck and by an author.
  • speakerdeck_views
    The stars of a deck and by an author.

An example set of metrics can be found here.

Prerequisites

I assume that you have already installed Prometheus. Configure Prometheus to scrape metrics from the server with the exporter. Note that the default scrape port of the exporter is 9887 and the metrics path -- "/metrics".

Usage

Command-line Arguments
Usage of ./speakerdeck-exporter:

-addr
    An address to listen on for web interface and telemetry.
-users
    Comma separated list of Speakerdeck users to watch.
-version
    Prints the current version.

Grafana

An example dashboard in Grafana could look like this:

dashboard

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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