This message was deleted.
# support
s
This message was deleted.
c
https://github.com/dchennaraidu/sample-ASPNETCore-app#steps-to-use-via-docker @Tushar Kanti Nath in above link I have added docker support and if possible share error or screenshot of error which you are getting Hope you have updated
TargetFramework
in
csproj
file
t
Why it need be in the same network ? It is still not working if the signoz server in a separate machine and try to push data in it
c
If you are testing locally(docker way) only then it is required to be on same docker network Other wise set
Otlp__Endpoint
as env variable or update in
appsettings.json
p
thanks @Chenna for helping with this. 🙂
🙂 1
t
@Chenna Can you help me with below error ? it crashed my app after running for few days. .AddSqlClientInstrumentation(options => { options.SetDbStatementForStoredProcedure = true; options.SetDbStatementForText = true; options.RecordException = true; }) {"EventName":"NullActivity","EventId":2,"ActivityId":"00000000-0000-0000-0000-000000000000","RelatedActivityId":"00000000-0000-0000-0000-000000000000","Payload":["System.Data.SqlClient.WriteCommandAfter"],"PayloadNames":["eventName"],"EventSource":{"Name":"OpenTelemetry-Instrumentation-SqlClient","Guid":"2eaa0ac9-db58-5211-9e9b-13d597f991d9","Settings":4,"ConstructionException":null},"Keywords":263882790666240,"Opcode":0,"Task":65532,"Tags":0,"Message":"Current Activity is NULL in the \u0027{0}\u0027 callback. Span will not be recorded.","Channel":0,"Version":0,"Level":3,"OSThreadId":26,"TimeStamp":"2022-06-08T000621.7956936Z"}
c
AddSqlClientInstrumentation
I haven’t been using sqlclient instrumentation, I’ll try it out Tushar