Skip to content

Reduce sampling rate within application #1253

Description

@lewismichaelr

Summary

We have some applications with a few requests/transactions that happen very frequently and are consistently fast. We are paying for data ingest that is not useful information, and would still like to have sampling on those hosts/processes, but LESS of it for certain processes.

Desired Behavior

It would be very useful to have something like newrelic_ignore_transaction() that ONLY disables the collection of span/transaction tracing data, and/or a way to easily decrease how many transactions are picked for sampling to reduce the noise, while ensuring that we do NOT increase the likelihood of incomplete traces with missing parents/uninstrumented time.

I'd like to see the Transaction record, but don't need thousands and thousands of transaction traces for the same thing happening, when it always processes smoothly. It could be considered the opposite of marking something as a "key" transaction such that it is sampled less often.

Possible Solution

newrelic_disable_span_events() function could be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PMPM to review against project priorities.enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions