Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Add null check for service map, fix percentile filter #35

Merged
merged 3 commits into from
Apr 22, 2021
Merged

Add null check for service map, fix percentile filter #35

merged 3 commits into from
Apr 22, 2021

Conversation

joshuali925
Copy link
Contributor

Issue #, if available:

Description of changes:

  • Add null check when querying for service map to handle edge cases
  • Fix percentile filter to use traceGroupFields.durationInNanos rather than durationInNanos

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@wrijeff wrijeff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@joshuali925 joshuali925 merged commit 126c3db into opendistro-for-elasticsearch:main Apr 22, 2021
@joshuali925 joshuali925 deleted the bug-fix branch April 22, 2021 16:18
joshuali925 added a commit that referenced this pull request Apr 22, 2021
* Add null check for service map query

* Loop through filters when switching percentile filters

* Add check before changing percentile filter
joshuali925 added a commit that referenced this pull request Apr 23, 2021
* Revert "Add null check for service map, fix percentile filter (#35)"

This reverts commit 126c3db.

* Revert "Merge pull request #34 from wrijeff/main"

This reverts commit 66a9dcc, reversing
changes made to 1cfd7b0.

* Revert "Merge pull request #33 from wrijeff/main"

This reverts commit 1cfd7b0, reversing
changes made to e914162.

* pick: Merge pull request #34 from wrijeff/main

Fixed getTracesQuery, was returning 0 unexpectedly.

* Add null check for service map, fix percentile filter (#35)

* Add null check for service map query

* Loop through filters when switching percentile filters

* Add check before changing percentile filter

* Change to traceGroup

Co-authored-by: Jeff Wright <[email protected]>
joshuali925 added a commit that referenced this pull request Apr 23, 2021
* Revert "Add null check for service map, fix percentile filter (#35)"

This reverts commit 126c3db.

* Revert "Merge pull request #34 from wrijeff/main"

This reverts commit 66a9dcc, reversing
changes made to 1cfd7b0.

* Revert "Merge pull request #33 from wrijeff/main"

This reverts commit 1cfd7b0, reversing
changes made to e914162.

* pick: Merge pull request #34 from wrijeff/main

Fixed getTracesQuery, was returning 0 unexpectedly.

* Add null check for service map, fix percentile filter (#35)

* Add null check for service map query

* Loop through filters when switching percentile filters

* Add check before changing percentile filter

* Change to traceGroup

Co-authored-by: Jeff Wright <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants