-
Notifications
You must be signed in to change notification settings - Fork 107
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
🚀 Feature: Add Azure Application Insights as an open telemetry destination #93
Comments
Sounds good @aavetis! Indeed it makes sense. |
Can you try passing your exporter to the sdk's init function? It just that we have an exporter we define internally in the sdk so that's what you're seeing - traces are sent to both destinations in parallel. |
will work on getting in the docs. on another note, are Metrics / MeterProvider expected to work? i've noticed traces, spans, and dependencies are all tracked seamlessly. but i haven't been able to see custom metrics (counters) getting passed down, not sure if i'm making a mistake or if sdk isn't expected to support it. |
Not yet, hopefully soon :) |
It may be better to document use of APPLICATIONINSIGHTS_CONNECTION_STRING env variable as a good practice. I believe you can then even omit it from the exporter constructor to simplify the code. Traceloop.init(app_name="your_app_name", exporter=AzureMonitorTraceExporter()) |
FYI @aavetis docs have been moved to a separate repo - https://github.com/traceloop/docs |
@aavetis any update on this? |
Closing as traceloop/docs#2 is merged and deployed |
Which component is this feature for?
OpenAI Instrumentation
🔖 Feature description
In addition to the destinations currently supported to catch traces, it would be great to extend and include Azure Application Insights. OpenTelemetry is a key recommendation for almost any solution deployed on Azure as they should be tracking traces and metrics, and it would be great to have native support.
I was going to add links to Azure documentation for OTEL + App Insights... Realized it might just be easier to send this ChatGPT instruction for a sample Python app instrumented with OTEL, sending traces to App Insights.
https://chat.openai.com/share/8b6cc9a7-b8c5-4dea-8e0b-7c6728ff40a0
🎤 Why is this feature needed ?
Holistic Azure solution, e.g. using Azure OpenAI and sending metrics to Azure Application Insights. All data would be airgapped and stored in your own subscription.
✌️ How do you aim to achieve this?
Support Azure App Insights as a trace export destination, using instrumentation key and endpoint.
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: