mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 11:58:09 +00:00
add the instrumentation key to Info (#353)
This commit is contained in:
@ -82,6 +82,11 @@ def get_subscription() -> Any: # should be str
|
||||
return parse_resource_id(os.environ["ONEFUZZ_DATA_STORAGE"])["subscription"]
|
||||
|
||||
|
||||
@cached
|
||||
def get_insights_instrumentation_key() -> Any: # should be str
|
||||
return os.environ["ONEFUZZ_TELEMETRY"]
|
||||
|
||||
|
||||
@cached
|
||||
def get_insights_appid() -> str:
|
||||
return os.environ["APPINSIGHTS_APPID"]
|
||||
|
Reference in New Issue
Block a user