-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cisco Model-Driven Telemetry (MDT) Input Plugin: Doesn't support/recognize Event-Driven Telemetry (EDT) Delete Messages #12286
Comments
@severindellsperger you might check the delete field of the message here and issue a "delete" metric. Not sure how it should look like (i.e. which fields it should contain) though... |
Exactly, this was the idea I had. I will take a look at it and keep you posted about it. |
Following is an example of how a metric could look when a delete message is sent.
|
Does the As a developer working with telemetry data, I prefer the data to be as static as possible. So I would like an empty object as So I would like to have something like:
The other option I would be okay with would be having the key |
We've discussed the following things in the slack channel. Consequently, it would look as follows (see the delete tag in the fields section):
I also think we should use the correct boolean values instead the strings |
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.15-alpine (Docker), Ubuntu 22.04.1 LTS
Docker
The problem is not related to docker - anyway here is the
docker-compose.yml
:Just to notice: the bug is also present in more recent telegraf version. But there the log message was removed, so we had to use the older version
telegraf:1.15-alpine
. For more details look at: dbd1fe7.Steps to reproduce
Here is an example with IOS-XR:
...
Expected behavior
Telegraf should process the deleted message and create a metric with a name, tags and fields (possibly empty objects) and forward it to the configured output.
Actual behavior
The delete message from event-driven telemetry (EDT) is not processed at all. The logic is not implemented:
telegraf/plugins/inputs/cisco_telemetry_mdt/cisco_telemetry_mdt.go
Line 391 in c3562ae
Additional info
No response
The text was updated successfully, but these errors were encountered: