Skip to content

Commit

Permalink
Add Azure Event Hubs metric to local config (#1204)
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Kerkhove <[email protected]>
  • Loading branch information
tomkerkhove authored Aug 7, 2020
1 parent 31926f7 commit 7c28a05
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ resourceDiscoveryGroups:
type: CosmosDb
- name: dps
type: DeviceProvisioningService
- name: event-hubs-landscape
type: EventHubs
- name: iot-gateways
type: IoTHub
- name: key-vaults
Expand Down
11 changes: 10 additions & 1 deletion config/promitor/scraper/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,13 @@ metrics:
aggregation:
type: Average
resourceDiscoveryGroups:
- name: network-interfaces
- name: network-interfaces
- name: azure_event_hubs_incoming_messages_discovery
description: "The number of incoming messages on an Azure Event Hub namespace"
resourceType: EventHubs
azureMetricConfiguration:
metricName: IncomingMessages
aggregation:
type: Total
resourceDiscoveryGroups:
- name: event-hubs-landscape

0 comments on commit 7c28a05

Please sign in to comment.