Skip to content

thundering-herd/twitter_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Exporter

An lightweight exporter written in go that exposes very simple metrics like twitter_followers and twitter_following as gauge values for a prometheus server to scrape.

This is a project very early in development so expect breaking changes.

Usage

Set up the following environment variables

TWITTER_TOKEN=<your twitter bearer token>
TWITTER_HANDLE=<account of the metrics you wish to scrape>

and then run

go run main.go

Use Cases

A typical use case would require you to have a prometheus server scraping metrics for your twitter exporter at every X interval which can then be used to graph on dashboards like grafana.

About

A basic twitter prometheus exporter written in go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.1%
  • Dockerfile 4.9%