opencensus-python
opencensus-python copied to clipboard
Support setting cloud role name via envvar
What we are trying to address
The changes in this PR allows devs to configure the logged cloud role name (in AppInsights) using an environment variable (APPLICATIONINSIGHTS_ROLE_NAME) - if specified. (related issue: https://github.com/census-instrumentation/opencensus-python/issues/1052)
Description of Changes
- Created a method to retrieve the azure monitor context (increased testability)
Ran it using
- using existing TOX ini/config (for all python envs)
Was this feature ever implemented in the end?
@se02035 Are you still working on this or can somebody else pick this up?
Closing due to inactivity.