clarify telemetry key names at the service level (#769)

This commit is contained in:
bmc-msft
2021-04-05 15:23:03 -04:00
committed by GitHub
parent c452a8aff3
commit e21eafd135
8 changed files with 14 additions and 33 deletions

View File

@ -103,13 +103,13 @@ def build_pool_config(pool: Pool) -> str:
config = AgentConfig(
pool_name=pool.name,
onefuzz_url=get_instance_url(),
instrumentation_key=os.environ.get("APPINSIGHTS_INSTRUMENTATIONKEY"),
heartbeat_queue=get_queue_sas(
"node-heartbeat",
StorageType.config,
add=True,
),
telemetry_key=os.environ.get("ONEFUZZ_TELEMETRY"),
instance_telemetry_key=os.environ.get("APPINSIGHTS_INSTRUMENTATIONKEY"),
microsoft_telemetry_key=os.environ.get("ONEFUZZ_TELEMETRY"),
instance_id=get_instance_id(),
)