Skip to main content
Copy edited (e.g. ref. <http://stackoverflow.com/legal/trademark-guidance> (the last section) and <http://en.wikipedia.org/wiki/Node.js>).
Source Link

GrafOverflow - Metric collection for StackExchangeStack Exchange

GrafOverflow

A metric collection script for the StackExchangeStack Exchange API.

View Some Realtime Stats

Here is a link for you to view some stats in real* time, with 1one year of history!

GrafOverflow

Screenshot of Dasboard

*Stats are collected every 5 minutes, and are smoothed to a 30 minute average ( onon a query  ) to account for API caching.

About

Data is beautiful, so why not draw some beautiful graphs about the sites that helps so many.?

This script is based around the carbon-cache metric storage backend, and is using Grafana for the UI.

To query the API, I wrote up a nodeNode.js script that will run a collection on a 5 minute interval; this then parses the JSON response from the SEStack Exchange API into a format parsable by the metric engine, opens a socket, and sends it.

In the above screenshot, you can see the result of simply collecting and graphing the data returned by the /info API endpoint.

The list of statistics collected and graphed:

  • Total Votes
  • Total Questions
  • Total Answers
  • Total Comments
  • Total Accepted
  • Accepted Percentage
  • Total Users
  • Total Badges

All per minute stats shown in Grafana are calculated by applying time function transformations to the total counts.

Multi Site Support

The configuration accepts a list of sites to poll. The hosted instance has the following sites available:

  • stackoverflow.com
  • serverfault.com
  • superuser.com
  • gaming.stackexchange.com
  • askubuntu.com
  • math.stackexchange.com
  • apple.stackexchange.com
  • 3dprinting.stackexchange.com

Download

The script source can be found on GitHub.

Following in the path of StackExchangeStack Exchange, this is published under the MIT License.

Requirements

The application is built in nodeNode.js and outputs data in the carbon plaintext protocol.

This applications requires an instance of carbon-cache or equivalent metric storage engine to properly store stats; in addition, it requires a front end viewer - in this example, I am using graphite-web and Grafana.

Configuration & Usage

To configure the application, simply copy config.sample.js to config.js and adjust your desired parameters.

To start the application, simply run the main file with node.

cd $APP_HOME
node stackstats.js &>> log &

Contact

Created by:
  Matthew Clark
  [email protected]

Update 9/13/18 SorrySorry, the domain name expired for some time there, but I never stopped collecting metrics! I have updated the active link, metrics can again be viewed with 1one year of history.

GrafOverflow - Metric collection for StackExchange

GrafOverflow

A metric collection script for the StackExchange API.

View Some Realtime Stats

Here is a link for you to view some stats in real* time, with 1 year of history!

GrafOverflow

Screenshot of Dasboard

*Stats are collected every 5 minutes, and smoothed to a 30 minute average ( on query  ) to account for API caching.

About

Data is beautiful, so why not draw some beautiful graphs about the sites that helps so many.

This script is based around the carbon-cache metric storage backend, and is using Grafana for the UI.

To query the API, I wrote up a node.js script that will run a collection on a 5 minute interval; this then parses the JSON response from the SE API into a format parsable by the metric engine, opens a socket, and sends it.

In the above screenshot, you can see the result of simply collecting and graphing the data returned by the /info API endpoint.

The list of statistics collected and graphed:

  • Total Votes
  • Total Questions
  • Total Answers
  • Total Comments
  • Total Accepted
  • Accepted Percentage
  • Total Users
  • Total Badges

All per minute stats shown in Grafana are calculated by applying time function transformations to the total counts.

Multi Site Support

The configuration accepts a list of sites to poll. The hosted instance has the following sites available:

  • stackoverflow.com
  • serverfault.com
  • superuser.com
  • gaming.stackexchange.com
  • askubuntu.com
  • math.stackexchange.com
  • apple.stackexchange.com
  • 3dprinting.stackexchange.com

Download

The script source can be found on GitHub.

Following in the path of StackExchange, this is published under the MIT License.

Requirements

The application is built in node.js and outputs data in the carbon plaintext protocol.

This applications requires an instance of carbon-cache or equivalent metric storage engine to properly store stats; in addition, it requires a front end viewer - in this example, I am using graphite-web and Grafana.

Configuration & Usage

To configure the application, simply copy config.sample.js to config.js and adjust your desired parameters.

To start the application, simply run the main file with node.

cd $APP_HOME
node stackstats.js &>> log &

Contact

Created by:
  Matthew Clark
  [email protected]

Update 9/13/18 Sorry, the domain name expired for some time there, but I never stopped collecting metrics! I have updated the active link, metrics can again be viewed with 1 year of history.

GrafOverflow - Metric collection for Stack Exchange

GrafOverflow

A metric collection script for the Stack Exchange API.

View Some Realtime Stats

Here is a link for you to view some stats in real* time, with one year of history!

GrafOverflow

Screenshot of Dasboard

*Stats are collected every 5 minutes and are smoothed to a 30 minute average (on a query) to account for API caching.

About

Data is beautiful, so why not draw some beautiful graphs about the sites that helps so many?

This script is based around the carbon-cache metric storage backend and is using Grafana for the UI.

To query the API, I wrote up a Node.js script that will run a collection on a 5 minute interval; this then parses the JSON response from the Stack Exchange API into a format parsable by the metric engine, opens a socket, and sends it.

In the above screenshot, you can see the result of simply collecting and graphing the data returned by the /info API endpoint.

The list of statistics collected and graphed:

  • Total Votes
  • Total Questions
  • Total Answers
  • Total Comments
  • Total Accepted
  • Accepted Percentage
  • Total Users
  • Total Badges

All per minute stats shown in Grafana are calculated by applying time function transformations to the total counts.

Multi Site Support

The configuration accepts a list of sites to poll. The hosted instance has the following sites available:

  • stackoverflow.com
  • serverfault.com
  • superuser.com
  • gaming.stackexchange.com
  • askubuntu.com
  • math.stackexchange.com
  • apple.stackexchange.com
  • 3dprinting.stackexchange.com

Download

The script source can be found on GitHub.

Following in the path of Stack Exchange, this is published under the MIT License.

Requirements

The application is built in Node.js and outputs data in the carbon plaintext protocol.

This applications requires an instance of carbon-cache or equivalent metric storage engine to properly store stats; in addition, it requires a front end viewer - in this example, I am using graphite-web and Grafana.

Configuration & Usage

To configure the application, simply copy config.sample.js to config.js and adjust your desired parameters.

To start the application, simply run the main file with node.

cd $APP_HOME
node stackstats.js &>> log &

Contact

Created by:
  Matthew Clark
  [email protected]

Update 9/13/18Sorry, the domain name expired for some time there, but I never stopped collecting metrics! I have updated the active link, metrics can again be viewed with one year of history.

edited tags
Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Added back live links, no longer obsolete, sorrrry :(
Source Link
Matt Clark
  • 241
  • 1
  • 5

OBSOLETE - GrafOverflow - Metric collection for StackExchange

GrafOverflow

A metric collection script for the StackExchange API.

View Some Realtime Stats

Here is a link for you to view some stats in real* time., with 1 year of history!

https://www.grafoverflow.com/GrafOverflow

Screenshot of DasboardScreenshot of Dasboard

*Stats are collected every 5 minutes, and smoothed to a 30 minute average ( on query ) to account for API caching.

About

Data is beautiful, so why not draw some beautiful graphs about the sites that helps so many.

This script is based around the carbon-cache metric storage backend, and is using Grafana for the UI.

To query the API, I wrote up a node.js script that will run a collection on a 5 minute interval; this then parses the JSON response from the SE API into a format parsable by the metric engine, opens a socket, and sends it.

In the above screenshot, you can see the result of simply collecting and graphing the data returned by the /info API endpoint.

The list of statistics collected and graphed:

  • Total Votes
  • Total Questions
  • Total Answers
  • Total Comments
  • Total Accepted
  • Accepted Percentage
  • Total Users
  • Total Badges

All per minute stats shown in Grafana are calculated by applying time function transformations to the total counts.

Multi Site Support

The configuration accepts a list of sites to poll. The hosted instance has the following sites available:

  • stackoverflow.com
  • serverfault.com
  • superuser.com
  • gaming.stackexchange.com
  • askubuntu.com
  • math.stackexchange.com
  • apple.stackexchange.com
  • 3dprinting.stackexchange.com

Download

The script source can be found on GitHub.

Following in the path of StackExchange, this is published under the MIT License.

Requirements

The application is built in node.js and outputs data in the carbon plaintext protocol.

This applications requires an instance of carbon-cache or equivalent metric storage engine to properly store stats; in addition, it requires a front end viewer - in this example, I am using graphite-web and Grafana.

Configuration & Usage

To configure the application, simply copy config.sample.js to config.js and adjust your desired parameters.

To start the application, simply run the main file with node.

cd $APP_HOME
node stackstats.js &>> log &

Contact

Created by:
  Matthew Clark
  [email protected]

Update 9/13/18 Sorry, the domain name expired for some time there, but I never stopped collecting metrics! I have updated the active link, metrics can again be viewed with 1 year of history.

OBSOLETE - GrafOverflow - Metric collection for StackExchange

GrafOverflow

A metric collection script for the StackExchange API.

View Some Realtime Stats

Here is a link for you to view some stats in real* time.

https://www.grafoverflow.com/

Screenshot of Dasboard

*Stats are collected every 5 minutes, and smoothed to a 30 minute average ( on query ) to account for API caching.

About

Data is beautiful, so why not draw some beautiful graphs about the sites that helps so many.

This script is based around the carbon-cache metric storage backend, and is using Grafana for the UI.

To query the API, I wrote up a node.js script that will run a collection on a 5 minute interval; this then parses the JSON response from the SE API into a format parsable by the metric engine, opens a socket, and sends it.

In the above screenshot, you can see the result of simply collecting and graphing the data returned by the /info API endpoint.

The list of statistics collected and graphed:

  • Total Votes
  • Total Questions
  • Total Answers
  • Total Comments
  • Total Accepted
  • Accepted Percentage
  • Total Users
  • Total Badges

All per minute stats shown in Grafana are calculated by applying time function transformations to the total counts.

Multi Site Support

The configuration accepts a list of sites to poll. The hosted instance has the following sites available:

  • stackoverflow.com
  • serverfault.com
  • superuser.com
  • gaming.stackexchange.com
  • askubuntu.com
  • math.stackexchange.com
  • apple.stackexchange.com
  • 3dprinting.stackexchange.com

Download

The script source can be found on GitHub.

Following in the path of StackExchange, this is published under the MIT License.

Requirements

The application is built in node.js and outputs data in the carbon plaintext protocol.

This applications requires an instance of carbon-cache or equivalent metric storage engine to properly store stats; in addition, it requires a front end viewer - in this example, I am using graphite-web and Grafana.

Configuration & Usage

To configure the application, simply copy config.sample.js to config.js and adjust your desired parameters.

To start the application, simply run the main file with node.

cd $APP_HOME
node stackstats.js &>> log &

Contact

Created by:
  Matthew Clark
  [email protected]

GrafOverflow - Metric collection for StackExchange

GrafOverflow

A metric collection script for the StackExchange API.

View Some Realtime Stats

Here is a link for you to view some stats in real* time, with 1 year of history!

GrafOverflow

Screenshot of Dasboard

*Stats are collected every 5 minutes, and smoothed to a 30 minute average ( on query ) to account for API caching.

About

Data is beautiful, so why not draw some beautiful graphs about the sites that helps so many.

This script is based around the carbon-cache metric storage backend, and is using Grafana for the UI.

To query the API, I wrote up a node.js script that will run a collection on a 5 minute interval; this then parses the JSON response from the SE API into a format parsable by the metric engine, opens a socket, and sends it.

In the above screenshot, you can see the result of simply collecting and graphing the data returned by the /info API endpoint.

The list of statistics collected and graphed:

  • Total Votes
  • Total Questions
  • Total Answers
  • Total Comments
  • Total Accepted
  • Accepted Percentage
  • Total Users
  • Total Badges

All per minute stats shown in Grafana are calculated by applying time function transformations to the total counts.

Multi Site Support

The configuration accepts a list of sites to poll. The hosted instance has the following sites available:

  • stackoverflow.com
  • serverfault.com
  • superuser.com
  • gaming.stackexchange.com
  • askubuntu.com
  • math.stackexchange.com
  • apple.stackexchange.com
  • 3dprinting.stackexchange.com

Download

The script source can be found on GitHub.

Following in the path of StackExchange, this is published under the MIT License.

Requirements

The application is built in node.js and outputs data in the carbon plaintext protocol.

This applications requires an instance of carbon-cache or equivalent metric storage engine to properly store stats; in addition, it requires a front end viewer - in this example, I am using graphite-web and Grafana.

Configuration & Usage

To configure the application, simply copy config.sample.js to config.js and adjust your desired parameters.

To start the application, simply run the main file with node.

cd $APP_HOME
node stackstats.js &>> log &

Contact

Created by:
  Matthew Clark
  [email protected]

Update 9/13/18 Sorry, the domain name expired for some time there, but I never stopped collecting metrics! I have updated the active link, metrics can again be viewed with 1 year of history.

edited tags; edited title
Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
added multi-site support
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
deleted 266 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 9 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 154 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 154 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
deleted 299 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
edited body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 299 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 157 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 87 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 16 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 242 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
deleted 5 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 355 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
added 15 characters in body
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading
Source Link
Matt Clark
  • 241
  • 1
  • 5
Loading