Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
houseofcat committed Apr 14, 2024
1 parent 4c0d686 commit 938f89a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ public static void AddOpenTelemetryExporter(
otlpOptions.Headers = string.Format(otlpHeaderFormat, otlpHeaderKey, otlpApiKey);
})
#if DEBUG
.AddSource(sourceName)
.AddSource(otlpServiceName)
.AddConsoleExporter());
#else
.AddSource(sourceName));
.AddSource(otlpServiceName));
#endif
}
}
3 changes: 1 addition & 2 deletions tests/RabbitMQ.Console.Tests/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"OpenTelemetry": {
"Enabled": false,
"ServiceVersion": "v1.0.0",
"Environment": "production",
"Environment": "Dev",
"EndpointUrl": "https://ingest.us.signoz.cloud:443",
"HeaderFormat": "{0}={1}",
"HeaderKey": "signoz-access-token",
Expand Down
1 change: 0 additions & 1 deletion tests/RabbitMQ.ConsumerDataflows.Tests/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"OpenTelemetry": {
"Enabled": true,
"ServiceVersion": "v1.0.0",
"Environment": "Dev",
"EndpointUrl": "https://ingest.us.signoz.cloud:443",
"HeaderFormat": "{0}={1}",
Expand Down

0 comments on commit 938f89a

Please sign in to comment.