Skip to content

Azure Metrics

Overview

Microsoft Azure provides built-in monitoring and observability tools that allow users to collect and analyze metrics and logs from their Azure resources. Send Azure metrics seamlessly to Coralogix. Search, analyze, and visualize your data, gaining insights into application behavior, identifying errors, and troubleshooting problems.

For more information about this integration, click here.

How to use with Terraform

To deploy this integration using Terraform, you can use the coralogix_integration resource provided by the Coralogix Terraform provider. Below is an example configuration:

resource "coralogix_integration" "azure-metrics-collector" {
  integration_key = "azure-metrics-collector"
  version         = "1.2.0"

  parameters = {
    IntegrationName = "AzureMetricsCollector"
    SubscriptionId = "<SubscriptionId>"
    TenantId = "<TenantId>"
    ClientId = "<ClientId>"
    ClientSecret = "<ClientSecret>"
    EnableServiceBusMetrics = false
    EnableUsageMetrics = false
  }
}

Replace the placeholder values with your actual configuration parameters. Refer to the parameter table below for required fields and their descriptions.

Revisions

1.2.0
NameTypeRequiredDescription
ClientIdStringYesThe client ID found in the Azure app registration.
ClientSecretStringYesThe client secret, found in Azure app registration -> Certificates & Secrets.
EnableServiceBusMetricsBooleanYesCreate metrics from Azure ServiceBus statistics
EnableUsageMetricsBooleanYesCreate metrics from Azure Compute usage data
IntegrationNameStringYes
SubscriptionIdStringYesAzure Subscription ID
TenantIdStringYesThe tenant ID found in the Azure app registration.
ApplicationLabelsListNoSelect labels whose values will be used as the Application Name. If more than one label can be matched, the first match in the list will be used.
ApplicationNameStringNoThe default name of the application that the integration will be used with. This is used as a fallback when no labels match.
EnableVirtualNetworksMetricsBooleanNoCreate metrics from Azure Virtual networks data
MetricNamespacesBooleanNoSpecify the Azure Metric Namespaces of the metrics that you want to pull into Coralogix or leave empty to pull all the metrics.
ResourceNameFilterStringNoSpecify a RegEx to serve as a filter based on the name of the Azure resource being monitored.
ResourceTypesBooleanNoSelect one or more Resource Types to filter the available options for the Metric Namespaces. If left unselected, all Metric Namespaces will be available. This option does not control what would be collected, it will only filter available options in Select Metric Namespaces.
SubsystemLabelsListNoSelect labels whose values will be used as the Subsystem Name. If more than one label can be matched, the first match in the list will be used.
SubsystemNameStringNoThe default name of the subsystem that the integration will be used with. This is used as a fallback when no labels match.
0.2.0
NameTypeRequiredDescription
ClientIdStringYesThe client ID found in the Azure app registration.
ClientSecretStringYesThe client secret, found in Azure app registration -> Certificates & Secrets.
EnableServiceBusMetricsBooleanYesCreate metrics from Azure ServiceBus statistics
EnableUsageMetricsBooleanYesCreate metrics from Azure Compute usage data
IntegrationNameStringYes
SubscriptionIdStringYesAzure Subscription ID
TenantIdStringYesThe tenant ID found in the Azure app registration.
ApplicationLabelsListNoSelect labels whose values will be used as the Application Name. If more than one label can be matched, the first match in the list will be used.
ApplicationNameStringNoThe default name of the application that the integration will be used with. This is used as a fallback when no labels match.
EnableVirtualNetworksMetricsBooleanNoCreate metrics from Azure Virtual networks data
MetricNamespacesBooleanNoSpecify the Azure Metric Namespaces of the metrics that you want to pull into Coralogix or leave empty to pull all the metrics.
ResourceNameFilterStringNoSpecify a RegEx to serve as a filter based on the name of the Azure resource being monitored.
ResourceTypesBooleanNoSelect one or more Resource Types to filter the available options for the Metric Namespaces. If left unselected, all Metric Namespaces will be available. This option does not control what would be collected, it will only filter available options in Select Metric Namespaces.
SubsystemLabelsListNoSelect labels whose values will be used as the Subsystem Name. If more than one label can be matched, the first match in the list will be used.
SubsystemNameStringNoThe default name of the subsystem that the integration will be used with. This is used as a fallback when no labels match.