Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Agent integration updates #1233

Open
wants to merge 678 commits into
base: test-k2-integration
Choose a base branch
from

Conversation

AnupamJuniwal
Copy link

Overview

This contains latest changes and updates for NR security agent integration

umaannamalai and others added 30 commits April 11, 2024 10:32
…relic-python-agent into memory-usage-sampler-config
…onfig

Add config setting to toggle memory usage runtime metrics.
* Update aiohttp in tests

* Remove unnecessary and buggy tests

* [Mega-Linter] Apply linters fixes

* Bump tests

---------

Co-authored-by: TimPansino <[email protected]>
* Format celery tests

* Add celery test for nested tasks

* Update pytest

* Add DT to celery

* Add distributed tracing testing for celery

* Pin pytest for 3.7

* Formatting

* Fix issue on older celery versions

* Add skip for Py2

* Fix skipif mark

* Linting

* Update newrelic/hooks/application_celery.py

Co-authored-by: Hannah Stepanek <[email protected]>

* Minor updates

* Remove unused pytest

* [Mega-Linter] Apply linters fixes

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Hannah Stepanek <[email protected]>
Co-authored-by: hmstepanek <[email protected]>
…elic#1089)

* move validate_custom_event into new dir

* Add validator shift to mlmodels

* Remove validators from fixtures.py

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Update artifact actions to newer versions

* Fix missing coverage dependency on firestore

* Add missing codecov token
* Update and pin all github actions to hashes

* Linting
* Rename files for better conventions

* Move worker config to conftest

* Update existing tests

* Add all celery task running methods to tests

* Patch celery name extraction crash

* Add correct metrics for all tests

* Fix map and starmap validators

* Fully corrected celery tests

* Remove celery tracer instrumentation

* Fix issue with wrappers not being detected by celery

* Add additional logic to celery task naming for mapping tasks

* Patch distributed tracing for new instrumentation point

* Expand celery testing matrix to all supported minor versions

* Remove unused code, and reorganize

* Linting

* Add another comment

* Remove all python 2 testing requirements
* Fix name of env var

* [Mega-Linter] Apply linters fixes

* Bump tests

---------

Co-authored-by: hmstepanek <[email protected]>
Co-authored-by: Tim Pansino <[email protected]>
…runcate

NR-181060: Add a new security config parameter to set a limit on the read request body.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Fix gRPC URI detection

* [Mega-Linter] Apply linters fixes

* Bump tests

---------

Co-authored-by: TimPansino <[email protected]>
* Add new instrumentation for celery

* Fix wrapper detection

* Move instrumentation testing

* Add metaprogramming instrumentation

* Remove build_tracer instrumentation again

* Fix code level metrics for celery

* Cleanup

* Add code level metrics tests to all task methods

* Wire in CLM source to task name lookup

* Fix bug in validate_transaction_count

* Module scoped fixture

* Fix python 2 syntax

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mergify bot and others added 22 commits October 2, 2024 19:05
* Add Python 3.13 tests to tox

* Fix memcache tests

* Fix agent unittests under developer mode

* Add wheels for 3.13

* Replace PyEval_CallObject with PyObject_Call in C extensions

* Remove Python 2 specific code for C extensions

* Update includes for C extensions for Py 3.13 compatibility

* Add support for setuptools_scm v7 and v8

* Address feedback

* Adding additional tox envs that are now supported
Instrument SQLiteVec vectorstore in LangChain
LLM Custom Attributes Context Manager API
@CLAassistant
Copy link

CLAassistant commented Oct 10, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

✅ umaannamalai
✅ hmstepanek
✅ AnupamJuniwal
✅ TimPansino
❌ mergify[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@AnupamJuniwal AnupamJuniwal marked this pull request as ready for review October 14, 2024 06:51
@AnupamJuniwal AnupamJuniwal requested a review from a team as a code owner October 14, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.