mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-17 05:28:03 +00:00
Update test scripts and documentation for simplified OpenTelemetry approach
- Update all test scripts to use OTEL_EXPORT_ENABLED instead of legacy flags - Remove references to deprecated ENABLE_OPENTELEMETRY and OTEL_ENABLED - Simplify run_tests_local.sh to use --exclude-tag=bluesky - Update documentation to reflect instrumentation always enabled - Remove legacy configuration section from README.md All scripts now use the new approach where: - OpenTelemetry instrumentation is always enabled - Only data export is controlled by OTEL_EXPORT_ENABLED flag - Cleaner configuration with single export control flag
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Run tests with OpenTelemetry enabled
|
||||
# Run tests with OpenTelemetry instrumentation and export enabled
|
||||
# This is used in CI to test OpenTelemetry functionality
|
||||
|
||||
set -e
|
||||
|
||||
echo "Running tests with OpenTelemetry enabled..."
|
||||
echo "=========================================="
|
||||
echo "Running tests with OpenTelemetry instrumentation and export enabled..."
|
||||
echo "===================================================================="
|
||||
|
||||
# Enable OpenTelemetry
|
||||
export ENABLE_OPENTELEMETRY=true
|
||||
export OTEL_ENABLED=true
|
||||
# Enable OpenTelemetry instrumentation and export
|
||||
export OTEL_EXPORT_ENABLED=true
|
||||
export OTEL_SERVICE_NAME=ivatar-test
|
||||
export OTEL_ENVIRONMENT=test
|
||||
|
||||
@@ -17,4 +16,4 @@ export OTEL_ENVIRONMENT=test
|
||||
python3 manage.py test -v3
|
||||
|
||||
echo ""
|
||||
echo "Tests completed successfully (OpenTelemetry enabled)"
|
||||
echo "Tests completed successfully (OpenTelemetry instrumentation and export enabled)"
|
||||
|
||||
Reference in New Issue
Block a user