GET /metrics + integration.category equals filter

  • 30 November 2022
  • 2 replies

Userlevel 1
Badge +1

Hi there!


The documentation for GET /metrics explains that it is possible to use the equals filter on the integration.category property.


However the following,%22API%22)

returns an empty data object array.


Without the filter I can see that there are 19 metrics whose attributes.integration.category is “API”.


Is there an additional criteria which should also be accounted for when filtering for this?




Best answer by Brian Turcotte 30 November 2022, 21:43

View original

2 replies

Userlevel 7
Badge +36

Hi@rollout and welcome to the Community!


I spoke with our engineering team about this issue, and while we might need a little more time to investigate why you’re receiving an empty array for that call, they did suggest using this endpoint as a workaround, which returns the expected response:[metric]=name,integration&filter=equals(,"API")


I hope this helps as a start, and thanks for using the Community!


- Brian

Userlevel 1
Badge +1

Hi Brian,

Thanks very much for the updated query - that query works a charm.