Skip to content

gabrielSanchezCampello/custom-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

custom-collector with execreceiver

This receiver is created to allow the periodic execution of commands from the opentelemetry collector. The result of the command to be executed must be a numerical value, which will be used as the value for the metric defined.

In this receiver it must be defined the following options for each command:

  • command: the command to be executed.
  • metric: in this section all the metric information to be associated to the command result will be defined.
    • metric_name: the name of the metric.
    • static_attributes: list of the attributes to be assigned to the metric-command.

For example:

execreceiver: queries: - command: "echo $((RANDOM % 100))" metric: metric_name: echo_ft.prueba static_attributes: region: "es"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages