Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```