influx-annotate

command module
Version: v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2017 License: MIT Imports: 5 Imported by: 0

README

influx-annotate CircleCI

Command line tool to add annotations to an InfluxDB database.

Suitable for batch files, deployment scripts, unicorn logging

Quick start

  • Make sure you've already got InfluxDB up and running. In InfluxDb, create the database that you want to log to.
  • Get the latest release for your platform (it's just a single executable)
  • Log your annotation data:
influx-annotate -server="http://your-influxdb-server:8086" -tags="application=Super unicorn app" -value="Build_20170414.2"

If you need help, just run influx-annotate -h.

There are a few command line parameters available:

Parameter Description
server The InfluxDB server to use. Defaults to 'http://localhost:8086'
database The InfluxDB database to use. Defaults to 'events'
name The measurement name. Defaults to 'build'
value The measurement value
tags Comma separated list of tags. Example: application=My app name,env=dev,machine=server01

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL