tomkerkhove / promitor

Bringing Azure Monitor metrics where you need them.
https://promitor.io
MIT License
248 stars 91 forks source link

feat: Support Azure Traffic Manager Profiles #2269

Closed amirschw closed 1 year ago

amirschw commented 1 year ago

Picking this up from where the original author left off

When implementing a new scraper; these tasks are completed:

Metrics output:

# TYPE azure_traffic_manager_endpoint_qps gauge
# HELP azure_traffic_manager_endpoint_qps Number of times a Traffic Manager endpoint was returned in the given time frame
azure_traffic_manager_endpoint_qps{tenant_id="<tenant_id>",subscription_id="<subscription_id>",resource_uri="<resource_uri>",resource_group="<resource_group>",instance_name="<instance_name>",geo="china",environment="dev"} 1781 1679494981881

Discovery output:

{"MetricName": "Discovered Resources", "MetricValue": 15, "Timestamp": "2023-03-22T14:20:38.6195166 +00:00", "Context": {"ResourceType": "TrafficManager", "CollectionName": "traffic-managers", "TelemetryType": "Metrics"}, "$type": "MetricLogEntry"}

Fixes #2192 Fixed #376 Related to #2194

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

github-advanced-security[bot] commented 1 year ago

You have successfully added a new Trivy configuration .github/workflows/ci-container.yml:scan. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

tomkerkhove commented 1 year ago

/azp run "Promitor CI - Scraper Agent"

azure-pipelines[bot] commented 1 year ago
No pipelines are associated with this pull request.
tomkerkhove commented 1 year ago

/azp run Promitor CI - Scraper Agent

azure-pipelines[bot] commented 1 year ago
Azure Pipelines successfully started running 1 pipeline(s).