Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 788 Bytes

README.md

File metadata and controls

51 lines (34 loc) · 788 Bytes

sample-ASPNETCore-app

Sample ASPNetCore app with opentelemetry instrumentation

Visit Signoz install guide

To build

dotnet build

To run

dotnet run

Ensure to change IP of SigNoz in appsettings.json


Steps to use via Docker

Build Image

docker build . -t example-signoz

Create Network

docker network create signoz-network

Add Signoz Collector to the network

docker network connect signoz-network clickhouse-setup_otel-collector_1

Add Example App to the same network

docker run -d --name example-signoz \
    --network="signoz-network" \
    -p 5001:80 \
    -e Otlp__Endpoint="http://clickhouse-setup_otel-collector_1:4317" \
    example-signoz