Skip to content

Option to ignore spans that are shorter than x milliseconds #1701

@SimonSimCity

Description

@SimonSimCity

Is your feature request related to a problem? Please describe.
Performance is always a question which might get in conflict with monitoring. Here I provide an additional approach/idea to get more useful information by monitoring.

Describe the solution you'd like
When looking through the list of performance improvements (https://www.elastic.co/guide/en/apm/agent/nodejs/current/performance-tuning.html) I noticed that - depending on what you're logging - it might be interesting not only to have a limit on spans transactionMaxSpans but also to have the option to ignore spans which have a shorter time-span than a given amount. This might also for some applications improve the help this package can bring because e.g. database calls are just mentioned if they take more than x milliseconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions