newrelic / newrelic/newrelic-python-agent

Add ENV for ignoring transactions

Open
#1,592 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request pm
Dominant language
Python
Stars
210
Forks
137
Avg merge
4d 19h
Merged PRs (30d)
12

Description

Summary

Node and Ruby agents provide an ENV that is a regex for indicating which transactions should be ignored. This is requesting that the same be done for the Python agent because the current method requires controlling that in code which is a pain and inflexible.

Desired Behavior

Ability to specify a regex to ignore transactions

Possible Solution

Regex like the Node and Ruby agents support

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing how the Node and Ruby agents expose transaction-ignore regex settings, then review the Python agent's documented ignoretransaction method and configuration path. Define the environment variable's regex behavior and verify that matching transactions are ignored without requiring application code changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.