Skip to content

High latency when querying thousands of Applications or Application Metrics #548

Open
@kminehart

Description

@kminehart

Description

In the rest implementation of the ApplicationsInterface, and in the APM struct, queries that are paginated traverse through every page before returning anything. Users of this package should have the ability to traverse through the pages themselves to avoid high latency requests.

This is happening a lot in the Grafana NewRelic datasource.

I'll be opening a pull request soon that ought to maintain backwards compatibility and add functions for retrieving individual pages, if that's ok. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingclient-gopinnedPin an issue to prevent auto-closing by a bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions