Skip to content

Conversation

@abhiramnarayana
Copy link

The ovs-appctl coverage/show command only reports counters that have non-zero values. This causes the exporter to not emit metrics that have not incremented yet, making it difficult to set up alerts for error conditions before they occur.

Changes done to iterate over all defined metrics and emit 0 for any not present in the OVS output.

Further, changes done in test comparison logic to handle the exporter now reporting more fields than what OVS returns.

The ovs-appctl coverage/show command only reports counters that have
non-zero values. This causes the exporter to not emit metrics that
have not incremented yet, making it difficult to set up alerts for
error conditions before they occur.

Changes done to iterate over all defined metrics and emit 0 for any
not present in the OVS output.

Further, changes done in test comparison logic to handle the exporter
now reporting more fields than what OVS returns.

Signed-off-by: Abhiram R N <abhiramrn@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant