Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyzhak/webbrowser_metrics_telegraf_plugin
Telegraph Plugin to collect webbrowser metrics
https://github.com/hyzhak/webbrowser_metrics_telegraf_plugin
Last synced: about 21 hours ago
JSON representation
Telegraph Plugin to collect webbrowser metrics
- Host: GitHub
- URL: https://github.com/hyzhak/webbrowser_metrics_telegraf_plugin
- Owner: hyzhak
- License: mit
- Created: 2024-03-02T07:24:11.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-02T08:28:47.000Z (8 months ago)
- Last Synced: 2024-04-14T14:50:40.399Z (7 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webbrowser_metrics_telegraf_plugin
Telegraph Plugin to collect webbrowser metrics## Setup
### Install telegraf
```sh
cp telegraf/telegraf.conf /usr/local/etc/telegraf.conf
```### Define Environment variables
```sh
DOCKER_INFLUXDB_INIT_HOST=localhost
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=qwerty
DOCKER_INFLUXDB_INIT_ORG=my-org
DOCKER_INFLUXDB_INIT_BUCKET=my-bucket
```### Start telegraf
#### Start telegraf as a service
```sh
ln -sfv /usr/local/opt/telegraf/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.telegraf.plist
```#### Start telegraf as a standalone process
```sh
telegraf --config /usr/local/etc/telegraf.conf
```