sumologic-docker-metrics-plugin

command module
v0.0.0-...-c947bfe Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

SumoLogic Docker Metrics Plugin

Experimental Docker metrics plugin for sending metrics to SumoLogic backend

Installation

# cleanup old installation if necessary
docker plugin disable sumologic/sumologic-docker-metrics-plugin
docker plugin rm sumologic/sumologic-docker-metrics-plugin

# install plugin from docker hub but not enable since we need to set SUMO_URL first
docker plugin install sumologic/sumologic-docker-metrics-plugin --grant-all-permissions --disable
docker plugin set sumologic/sumologic-docker-metrics-plugin:latest SUMO_URL=https://collectors.sumologic.com/receiver/v1/http/XXX
docker plugin enable sumologic/sumologic-docker-metrics-plugin

Supported Parameters

Parameters can be configured with docker plugin set Cli:

Option Description
SUMO_URL Sumo Logic HTTP source URL (required)
SUMO_POLL_INTERVAL The time interval for polling metrics (default: 2s)
SUMO_SOURCE_CATEGORY Override source category
SUMO_SOURCE_NAME Override source name
SUMO_SOURCE_HOST Override source host
SUMO_METRICS_INCLUDED Only the metrics matching these RegEx pattern(s) will be included; split by comma
SUMO_METRICS_EXCLUDED The metrics matching these RegEx pattern(s) will be ignored; split by comma
SUMO_INTRINSIC_LABELS The labels matching these RegEx pattern(s) will be intrinsic, others will be meta; split by comma
SUMO_EXTRA_INTRINSIC_TAGS Addtional intrinsic tags in format %k=%v; split by comma
SUMO_EXTRA_META_TAGS Addtional meta tags in format %k=%v; split by comma
SUMO_PROXY_URL URL of proxy server if applying

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址