Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ykzts/twitch-telegraf-plugin
Gather account information from Twitch users.
https://github.com/ykzts/twitch-telegraf-plugin
telegraf telegraf-plugin twitch
Last synced: 24 days ago
JSON representation
Gather account information from Twitch users.
- Host: GitHub
- URL: https://github.com/ykzts/twitch-telegraf-plugin
- Owner: ykzts
- License: mit
- Created: 2022-06-29T09:06:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T21:56:41.000Z (8 months ago)
- Last Synced: 2024-10-08T00:42:36.002Z (about 1 month ago)
- Topics: telegraf, telegraf-plugin, twitch
- Language: Go
- Homepage:
- Size: 321 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# twitch-telegraf-plugin
Gather user information from [Twitch](https://www.twitch.tv/) users.
### Configuration
```toml
[[inputs.twitch]]
## List of users to monitor.
users = [
12826,
133151915
]# client_id = ""
# client_secret = ""
# access_token = ""
```### Metrics
- twitch_user
- tags:
- display_name - The display name
- id - The ID of the user
- login - The login name
- fields:
- videos (int)
- followers (int)
- following (int)
- streams (int)
- streams_total_viewers (int)
- videos (int)
- videos_total_viewers (int)### Example Output
```plain
twitch_user,display_name=TwitchJP,id=133151915,login=twitchjp videos=172i,followers=46755i,following=4i,streams=0i,streams_total_viewers=0i,videos_total_viewers=8498459i 1656511107704078995
twitch_user,display_name=Twitch,id=12826,login=twitch videos=2294i,followers=2215319i,following=152i,streams=0i,streams_total_viewers=0i,videos_total_viewers=35262507i 1656511107704078995
```