FILE Job Example: Stack Overflow Tags

Overview

Download activity statistics for a set of stackoverflow tags in JSON format.

API key is required.

Included fields are count, name.

count becomes a metric and name becomes a series tag.

Records are timestamped with the current time.

File

URI

https://api.stackexchange.com/2.2/tags/docker/info?key=****&site=stackoverflow

Local Copy

info.json

Content

{
    "items": [{
    "has_synonyms": false,
    "is_moderator_only": false,
    "is_required": false,
    "count": 13158,
    "name": "docker"
    }],
    "has_more": false,
    "quota_max": 10000,
    "quota_remaining": 9999
}

CSV File sent into ATSD

count,name
13158,docker

Configuration

Screenshot

Job Screenshot