iLogtail
metric_input_example 可作为编写MetricInput类插件的参考示例样例,该插件会定时生成模拟的指标数据。源代码
metric_input_example
MetricInput
Stable
enable: trueinputs: - Type: metric_input_exampleflushers: - Type: flusher_stdout OnlyStdout: true
{ "__name__":"example_counter", "__labels__":"hostname#$#************************|ip#$#172.***.***.***", "__time_nano__":"1658491078378371632", "__value__":"101", "__time__":"1658491078"}