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

@ -45,15 +45,8 @@ pub struct Forward {
#[derive(Debug, Deserialize, Serialize, PartialEq, Clone)]
pub struct ConfigData {
pub instance_id: Uuid,
// TODO: remove the alias once the service has been updated to match
#[serde(alias = "instrumentation_key")]
pub instance_telemetry_key: Option<InstanceTelemetryKey>,
// TODO: remove the alias once the service has been updated to match
#[serde(alias = "telemetry_key")]
pub microsoft_telemetry_key: Option<MicrosoftTelemetryKey>,
pub region: String,
pub url: Url,
pub notification: Url,