1
0
Fork 1

Add simple-otel/config.php

This commit is contained in:
colin 2024-07-01 18:28:49 +00:00
parent 7734cbc9d4
commit 79183991eb
1 changed files with 6 additions and 0 deletions

6
simple-otel/config.php Normal file
View File

@ -0,0 +1,6 @@
<?php
// Configuration for Simple Otel plugin
// Set default values using environment variables or fallback to manual configuration
$otel_service_name = getenv('OTEL_SERVICE_NAME') ?: 'default-service-name';
$otel_exporter_otlp_endpoint = getenv('OTEL_EXPORTER_OTLP_ENDPOINT') ?: 'http://localhost:4317';
?>