Skip to content

Scalingo/sample-influxdb

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sample InfluxDB

This sample count the number of tweets for a given hashtag every minute.

This sample runs a worker to update the InfluxDB database and a web container to display a graphic showing the results.

Mandatory environment variable:

  • HASHTAG: which hashtag to follow
  • TWITTER_ACCESS_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET: credentials to access the Twitter API. Generate these variables here.