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
Name Type Required Description
ClientId String Yes The client ID found in the Azure app registration.
ClientSecret String Yes The client secret, found in Azure app registration -> Certificates & Secrets.
EnableServiceBusMetrics Boolean Yes Create metrics from Azure ServiceBus statistics
EnableUsageMetrics Boolean Yes Create metrics from Azure Compute usage data
IntegrationName String Yes
SubscriptionId String Yes Azure Subscription ID
TenantId String Yes The tenant ID found in the Azure app registration.
ApplicationLabels List No Select 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.
ApplicationName String No The default name of the application that the integration will be used with. This is used as a fallback when no labels match.
EnableVirtualNetworksMetrics Boolean No Create metrics from Azure Virtual networks data
MetricNamespaces Boolean No Specify the Azure Metric Namespaces of the metrics that you want to pull into Coralogix or leave empty to pull all the metrics.
ResourceNameFilter String No Specify a RegEx to serve as a filter based on the name of the Azure resource being monitored.
ResourceTypes Boolean No Select 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.
SubsystemLabels List No Select 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.
SubsystemName String No The 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
Name Type Required Description
ClientId String Yes The client ID found in the Azure app registration.
ClientSecret String Yes The client secret, found in Azure app registration -> Certificates & Secrets.
EnableServiceBusMetrics Boolean Yes Create metrics from Azure ServiceBus statistics
EnableUsageMetrics Boolean Yes Create metrics from Azure Compute usage data
IntegrationName String Yes
SubscriptionId String Yes Azure Subscription ID
TenantId String Yes The tenant ID found in the Azure app registration.
ApplicationLabels List No Select 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.
ApplicationName String No The default name of the application that the integration will be used with. This is used as a fallback when no labels match.
EnableVirtualNetworksMetrics Boolean No Create metrics from Azure Virtual networks data
MetricNamespaces Boolean No Specify the Azure Metric Namespaces of the metrics that you want to pull into Coralogix or leave empty to pull all the metrics.
ResourceNameFilter String No Specify a RegEx to serve as a filter based on the name of the Azure resource being monitored.
ResourceTypes Boolean No Select 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.
SubsystemLabels List No Select 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.
SubsystemName String No The default name of the subsystem that the integration will be used with. This is used as a fallback when no labels match.