# Send aggregate metrics to Azure Monitor [[outputs.azure_monitor]] ## Timeout for HTTP writes. # timeout = "20s" ## Set the namespace prefix, defaults to "Telegraf/". # namespace_prefix = "Telegraf/" ## Azure Monitor doesn't have a string value type, so convert string ## fields to dimensions (a.k.a. tags) if enabled. Azure Monitor allows ## a maximum of 10 dimensions so Telegraf will only send the first 10 ## alphanumeric dimensions. # strings_as_dimensions = false ## Both region and resource_id must be set or be available via the ## Instance Metadata service on Azure Virtual Machines. # ## Azure Region to publish metrics against. ## ex: region = "southcentralus" # region = "" # ## The Azure Resource ID against which metric will be logged, e.g. ## ex: resource_id = "/subscriptions//resourceGroups//providers/Microsoft.Compute/virtualMachines/" # resource_id = "" ## Optionally, if in Azure US Government, China, or other sovereign ## cloud environment, set the appropriate REST endpoint for receiving ## metrics. (Note: region may be unused in this context) # endpoint_url = "https://monitoring.core.usgovcloudapi.net" ## Time limitations of metric to send ## Documentation can be found here: ## https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-store-custom-rest-api?tabs=rest#timestamp ## However, the returned (400) error message might document more strict or ## relaxed settings. By default, only past metrics witin the limit are sent. # timestamp_limit_past = "30m" # timestamp_limit_future = "-1m"