opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentati.../tests
Emídio Neto 3708604bb5
botocore: sns set destination name attribute to arn and redact phone number (#3249)
* set destination name only if not phone number

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* redact phone_number

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

* add changelog

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>

---------

Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-03-10 09:39:12 +00:00
..
cassettes botocore: don't crash when sending content as string with InvokeModel (#3342) 2025-03-06 09:50:10 +00:00
README.md botocore: add bedrock genai user events and lazy initialize tracers and event loggers (#3258) 2025-02-13 10:08:24 +01:00
__init__.py Rename remaining framework packages from "ext" to "instrumentation" (#969) 2020-10-21 21:39:43 -07:00
bedrock_utils.py botocore: add genai metrics for bedrock extensions (#3326) 2025-03-05 09:14:39 +00:00
conftest.py botocore: add genai metrics for bedrock extensions (#3326) 2025-03-05 09:14:39 +00:00
test_botocore_bedrock.py botocore: don't crash when sending content as string with InvokeModel (#3342) 2025-03-06 09:50:10 +00:00
test_botocore_dynamodb.py botocore: add bedrock genai user events and lazy initialize tracers and event loggers (#3258) 2025-02-13 10:08:24 +01:00
test_botocore_instrumentation.py NoOpTracerProvider test case for botocore instrumentation (#3091) 2024-12-11 13:35:50 +00:00
test_botocore_lambda.py botocore: bump moto to latest (#2605) 2024-06-13 16:56:04 -06:00
test_botocore_messaging.py botocore: Add support for SNS publish and publish_batch (#1409) 2022-11-24 16:44:12 +05:30
test_botocore_sns.py botocore: sns set destination name attribute to arn and redact phone number (#3249) 2025-03-10 09:39:12 +00:00
test_botocore_sqs.py botocore: bump moto to latest (#2605) 2024-06-13 16:56:04 -06:00

README.md

Recording calls

If you need to record calls you may need to export authentication variables and the default region as environment variables in order to have the code work properly. Since tox blocks environment variables by default you need to override its configuration to let them pass:

export TOX_OVERRIDE=testenv.pass_env=AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_DEFAULT_REGION

We are not adding it to tox.ini because of security concerns.