opencensus-python icon indicating copy to clipboard operation
opencensus-python copied to clipboard

Support setting cloud role name via envvar

Open se02035 opened this issue 4 years ago • 2 comments

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)

se02035 avatar Aug 11 '21 15:08 se02035

Was this feature ever implemented in the end?

molntamas avatar Jun 28 '22 12:06 molntamas

@se02035 Are you still working on this or can somebody else pick this up?

lzchen avatar Jun 28 '22 17:06 lzchen

Closing due to inactivity.

lzchen avatar Feb 07 '23 18:02 lzchen