Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxcleme/instagram-exporter
Prometheus Instagram Exporter
https://github.com/maxcleme/instagram-exporter
Last synced: 4 days ago
JSON representation
Prometheus Instagram Exporter
- Host: GitHub
- URL: https://github.com/maxcleme/instagram-exporter
- Owner: maxcleme
- License: mit
- Created: 2020-04-03T08:45:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-29T21:29:25.000Z (over 1 year ago)
- Last Synced: 2024-11-05T09:43:42.134Z (7 days ago)
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# instagram-exporter
**WARNING: This exporter doesn't use Instagram official API because Facebook restrict them for Business/Creator account, moreover some metrics are not available in [Instagram Basic Display API](https://developers.facebook.com/docs/instagram-basic-display-api). Instead, this exporter use [goinsta](https://github.com/ahmdrz/goinsta) which bypass Instagram API, use at your own risk.**
## Configuration
Put the following file into your home folder :
**.instagram-exporter.yaml**
```yaml
http_port: 2112
http_path: /metrics
log_level: debug
cache_duration: 5mig_login: XXXXXXXXXXXXX
ig_password: XXXXXXXXXXXXX
ig_token_path: /tmp/instagram-exporter/.ig_token
ig_target_users: AAAAAA,BBBBBB,CCCCCC
```**Note: `ig_login` and `ig_password` will only be used once in order to create the token file, once done you can remove them from the config file.**
#### Metrics
| Name | Tags | Description |
| -- | -- | -- |
| `instagram_media_total` | `[username]` | Total media count |
| `instagram_follower_total` | `[username]` | Total followers count |
| `instagram_following_total` | `[username]` | Total following count |
| `instagram_media_like_total` | `[username, media_id]` | Total likes |
| `instagram_media_comment_total` | `[username, media_id]` | Total comments |