Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kpacha/opencensus-influxdb
InfluxDB exporter for the opencensus lib
https://github.com/kpacha/opencensus-influxdb
Last synced: 3 months ago
JSON representation
InfluxDB exporter for the opencensus lib
- Host: GitHub
- URL: https://github.com/kpacha/opencensus-influxdb
- Owner: kpacha
- License: apache-2.0
- Created: 2018-05-19T14:56:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-02T20:27:16.000Z (over 5 years ago)
- Last Synced: 2024-01-17T22:04:30.845Z (6 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-opencensus - github.com/kpacha/opencensus-influxdb
README
opencensus-influxdb
====
[![Build Status](https://travis-ci.org/kpacha/opencensus-influxdb.svg?branch=master)](https://travis-ci.org/kpacha/opencensus-influxdb) [![Go Report Card](https://goreportcard.com/badge/github.com/kpacha/opencensus-influxdb)](https://goreportcard.com/report/github.com/kpacha/opencensus-influxdb) [![GoDoc](https://godoc.org/github.com/kpacha/opencensus-influxdb?status.svg)](https://godoc.org/github.com/kpacha/opencensus-influxdb)InfluxDB exporter for the opencensus lib
## Installation
$ go get -u github.com/kpacha/opencensus-influxdb
## Register the exporter
e, err := influxdb.NewExporter(influxdb.Options{
Database: "db",
Address: "http://example.tld",
Username: "user",
Password: "password",
})
if err != nil {
log.Fatalf("unexpected error: %s", err.Error())
}
view.RegisterExporter(e)