Base Config
interval
- how often to send metrics (in seconds)riemann.host
- riemann hostname (default: localhost)riemann.port
- riemann port (default: 5555)riemann.transport
- set transport protocol for riemann (default: TCPTransport)riemann.ca-certs
- set location of CA bundle, used to enable TLS encryption oshino <-> riemann. If transport is isn't specified, it will change it to TLSTransportloglevel
- level of logging (default: INFO)sentry-dsn
- sentry address for error reporting (default:None
)executor
- allows to define executor class, default one isconcurrent.futures.ThreadPoolExecutor
executors-count
- set worker count for executor, default: 10agents
- an array of agent configs used in this setupaugments
- an array of augment configs used in this setup
Agents
General Config for Agents
name
- give name for agenttag
- adds this tag to all metrics related to this agentmodule
- path to module from which actual agent should be loaded. In most cases this path should be declared in actor's README
Http Agent Config
Agent used to produce HTTP calls to specific website
module: oshino.agents.http_agent.HttpAgent
url
- which url to call
Subprocess Agent Config
Agent used to execute CLI scripts
module: oshino.agents.subprocess_agent.SubprocessAgent
script
- what shell script to execute
Augments
General config for Augments
name
- give name for augmentkey
- defines a metric key to listen totag
- adds this tag to all metrics related to this augmentmodule
- path to module from which actual augment should be loaded. In most cases this path should be declared in augment's README
Moving Average
Reads metrics and produces moving average
module: oshino.augments.stats.MovingAverage
step
- how much metrics it should inhale before it can produce average