Skip to content
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

Add option to enable tracing/appinsights #401

Closed
lenisha opened this issue Jul 10, 2023 · 3 comments
Closed

Add option to enable tracing/appinsights #401

lenisha opened this issue Jul 10, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lenisha
Copy link

lenisha commented Jul 10, 2023

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [X] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Expected/desired behavior

Add option to enable tracing/logs/metrics to flow to App Insights to enable usage reports

@lenisha lenisha added enhancement New feature or request good first issue Good for newcomers labels Jul 10, 2023
@lenisha lenisha self-assigned this Jul 10, 2023
@pamelafox
Copy link
Collaborator

Good idea! For Python apps, the OpenCensus package is the current way to hook into AppInsights, but OpenTelemetry is going to supercede that soon.

This should be the way to do it for OpenCensus, though I haven't tried it yet myself:

https://learn.microsoft.com/en-us/azure/azure-monitor/app/opencensus-python-request#track-flask-applications

@vrajroutu
Copy link

vrajroutu commented Jul 12, 2023

@lenisha #475 Here is my PR for enabling the azure tracing/appinsights

@pamelafox
Copy link
Collaborator

We've merged a PR (#515) that adds opentelemetry and also updated the README with information about enabling it (it's opt in). Please file an issue if you see issues with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants