generated from rmcguire/go-server-with-otel
	Initial commit
This commit is contained in:
		
							
								
								
									
										14
									
								
								env-sample
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								env-sample
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
# App Config
 | 
			
		||||
APP_NAME="go-server-with-otel"
 | 
			
		||||
APP_LOG_LEVEL=trace ## For testing only
 | 
			
		||||
APP_LOG_FORMAT=console ## console, json
 | 
			
		||||
APP_LOG_TIME_FORMAT=long ## long, short, unix, rfc3339, off
 | 
			
		||||
 | 
			
		||||
# App OTEL Config
 | 
			
		||||
APP_OTEL_STDOUT_ENABLED=true ## For testing only
 | 
			
		||||
APP_OTEL_METRIC_INTERVAL_SECS=15
 | 
			
		||||
 | 
			
		||||
# OTEL SDK Config
 | 
			
		||||
OTEL_EXPORTER_OTLP_ENDPOINT="otel-collector.otel.svc.cluster.local" # Set to your otel collector
 | 
			
		||||
OTEL_SERVICE_NAME="go-server-with-otel"
 | 
			
		||||
OTEL_RESOURCE_ATTRIBUTES="env=development,service.version=(devel)"
 | 
			
		||||
		Reference in New Issue
	
	Block a user