-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VB.NET Integrate Authorization token in Header #5738
Comments
Have you tried adding using |
Yes we did that too but no luck. |
@matt-hensley, could you please advice? |
I managed to fix it. Its sending my logs, metrices and traces to Grafana while testing. Imports OpenTelemetry Public Class Global_asax
End Class Web.config File <system.web> <system.webServer> |
Feature Request
Are you requesting automatic instrumentation for a framework or library? Please describe.
We are using OpenTelemetry SDK
Describe the solution you'd like
We followed everything as per the git link
https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Instrumentation.AspNet
We managed to get telemetry data through Console output, however we can't able to send data to Grafana as Token needs to be pass in header.
Code we did so far in Global.asax.vb file
Imports OpenTelemetry
Imports OpenTelemetry.Exporter
Imports OpenTelemetry.Metrics
Imports OpenTelemetry.Resources
Imports OpenTelemetry.Trace
Public Class Global_asax
Inherits HttpApplication
End Class
Extra Notes:
We need to add and remove some of the predefined attributes.
And also the output of the telemetry data should be in different formats (Ex. JSON, CSV, ..)
The text was updated successfully, but these errors were encountered: