opiproject / otel

OPI Monitoring and Telemetry via Open Telemetry (OTEL)
Apache License 2.0
9 stars 14 forks source link

feat: enhance the demo with syslog telemetries #145

Closed Kevin222004 closed 3 months ago

Kevin222004 commented 4 months ago

part of #5

https://github.com/influxdata/telegraf/tree/master/plugins/inputs/syslog

Kevin222004 commented 4 months ago

@glimchb can you help me add this syslog telemetry I am trying to forward the message using TCP and tried multiple ways but not work, I have read many things but have not been able to fix this. I have also tried to use UDP but won't work.

glimchb commented 4 months ago

@Kevin222004 please rebase to resolve conflicts, thank you

Kevin222004 commented 4 months ago

@glimchb I will update this pr by tommorow

Kevin222004 commented 4 months ago

@glimchb can you please review now and guide me what am I missing here.

glimchb commented 3 months ago

from CI log, when you click on failed job above, you can see:

2024-07-04T12:17:44.1641334Z telegraf_1           | 2024-07-04T12:17:39Z E! [telegraf] Error running agent: starting input inputs.syslog: listen tcp 172.18.0.4:6514: bind: cannot assign requested address
Kevin222004 commented 3 months ago

I will fix it.

Kevin222004 commented 3 months ago

@glimchb will it be fine if I create my own image and use it here. I am still unsure why data is not collected by telegraf from rsyslog image. I can use Ubuntu as base image and do the setup of rsyslog on that to gather data and serve it, I believe it will work. I will push this image to my own dockerhub repo.