DataDog / datadog-aas-extension

Datadog Azure App Services Site Extension
Apache License 2.0
9 stars 12 forks source link

Error creating expvar server on port 5000 #145

Open Havunen opened 2 years ago

Havunen commented 2 years ago

After installing this extension on .NET 6 azure app service application. There is error in dogstatsd log file ( LogFiles/datadog/v2_14_000/dogstatsd.txt )

2022-09-19 19:04:43 GMT | DSD | ERROR | (pkg/util/log/log.go:612 in func1) | Error creating expvar server on port 5000: listen tcp 127.0.0.1:5000: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_AAS_DOTNET_EXTENSION_VERSION
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_AGENT_PIPE_NAME
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_AZURE_APP_SERVICES
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_DOGSTATSD_ARGS
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_DOGSTATSD_PATH
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_DOGSTATSD_WINDOWS_PIPE_NAME
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_DOTNET_TRACER_HOME
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_INTEGRATIONS
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_INTERNAL_NATIVE_LOADER_PATH
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_INTERNAL_PROFILING_NATIVE_ENGINE_PATH
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_INTERNAL_TRACE_NATIVE_ENGINE_PATH
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_PROFILER_EXCLUDE_PROCESSES
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_TRACE_AGENT_ARGS
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_TRACE_AGENT_PATH
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_TRACE_LOG_PATH
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_TRACE_METRICS_ENABLED
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_TRACE_PIPE_NAME
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_TRACE_TRANSPORT
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_PROFILING_CPU_ENABLED
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_PROFILING_ENABLED
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_PROFILING_EXCEPTION_ENABLED
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_SERVICE
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/util/log/log.go:592 in func1) | Unknown environment variable: DD_TRACE_DEBUG
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/metadata/helper.go:99 in SetupMetadataCollection) | Metadata collection disabled, only do that if another agent/dogstatsd is running on this host
2022-09-19 19:04:43 GMT | DSD | WARN | (pkg/config/viper.go:220 in GetStringSlice) | failed to get configuration value for key "proxy.no_proxy": unable to cast <nil> of type <nil> to []string

I have been trying to make profiling for hot code paths work, could this be related?

andrewlock commented 2 years ago

Hi there, sorry for the delay, this looks like it could be a configuration error. Could you please create a support ticket with support@datadoghq.com and reference this ticket, so that we can collect all the relevant information? Thanks very much!