Add a transform to swap Ingress and Egress

Description

A customer has an existing tool that presents data In and Out inverted when compared to OpenNMS. Correctness notwithstanding, it would be an easy win if we could also present flow data this way.

 

This is only related to flows datasource so it just need to :

  1. Add a Transform 'swapIngressEgress' that will swap fields (In/Out) fot Ingress/egress data.

  2. Add fuctionality series (timeseries) in flows datasource. TBD if we need to add the functionality on summary as well.

  3. Add corresponding unit tests.

 

Attachments

3

Lucidchart Diagrams

Activity

Show:

Alberto April 12, 2022 at 6:50 PM

Merged to develop

Dino Yancey April 6, 2022 at 5:41 PM

Both.

Alberto April 6, 2022 at 5:33 PM

 did you hear back from the client about if this requirement would also need the swap functionality for the table summary panel? Or it will just to be added in the series graph?

Alberto March 30, 2022 at 6:08 PM
Edited

If negativeIngress, negativeEgress transformation is not viable solutions this requirement, since it needs to swap the In/Out labels on the flow datasource

Alberto March 30, 2022 at 5:51 PM
Edited

 Regarding this issue there are already 2 transformations that can be used to do this swapping, negativeIngress and negativeEgress. Basically using one OR the other will swap the values.

 

Or I'm understanding this wrong? 

See image with each transformation

 

 

Done

Details

Assignee

Reporter

Labels

Story Points

Sprint

Fix versions

Priority

PagerDuty

Created March 29, 2022 at 9:23 PM
Updated September 8, 2022 at 5:08 PM
Resolved April 12, 2022 at 6:50 PM
Loading...