Skip to content

Commit

Permalink
fixed grafana alloy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
phongnguyend committed Jun 11, 2024
1 parent f3dd9e4 commit 1b9d588
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/Monolith/ClassifiedAds.WebMVC/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@
"ApplicationInsights": {
"IsEnabled": false,
"InstrumentationKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
},
"OpenTelemetry": {
"IsEnabled": false,
"ServiceName": "ClassifiedAds.WebMVC",
"Otlp": {
"Endpoint": "http://localhost:4317"
}
}
},
"Caching": {
Expand Down Expand Up @@ -67,6 +74,14 @@
},
"AzureApplicationInsights": {
"IsEnabled": false
},
"OpenTelemetry": {
"IsEnabled": false,
"ServiceName": "ClassifiedAds.WebMVC",
"Otlp": {
"IsEnabled": false,
"Endpoint": "http://localhost:4317"
}
}
},
"AllowedHosts": "*",
Expand Down
2 changes: 1 addition & 1 deletion tools/grafana alloy/config.alloy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ otelcol.processor.batch "example" {

otelcol.exporter.otlp "grafana_cloud_tempo" {
client {
endpoint = "https://tempo-prod-xx-prod-ap-southeast-1.grafana.net/tempo"
endpoint = "tempo-prod-xx-prod-ap-southeast-1.grafana.net:443"
auth = otelcol.auth.basic.grafana_cloud_tempo.handler
}
}
Expand Down

0 comments on commit 1b9d588

Please sign in to comment.