Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Azure Virtual Machine Scale Set (VMSS) Scraper #816

Merged
merged 3 commits into from
Jan 8, 2020

Conversation

tomkerkhove
Copy link
Owner

Fixes #310

@promitor-bot
Copy link

Docker image for this PR was built and is available on Docker Hub.

You can pull it locally via the CLI:

docker pull tomkerkhove/promitor-agent-scraper-ci:pr816

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-agent-scraper-pr816 \
                         --env PROMITOR_AUTH_APPID='<azure-ad-app-id>' \
                         --env-file C:/Promitor/az-mon-auth.creds \
                         --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml  \
                         --volume C:/Promitor/runtime-config.yaml:/config/runtime.yaml \
                         tomkerkhove/promitor-agent-scraper-ci:pr816

You can find a CI version of our Helm chart on hub.helm.sh

@tomkerkhove
Copy link
Owner Author

Example:

# HELP azure_virtual_machine_scale_set_percentage_cpu Average percentage cpu usage on an Azure virtual machine scale set
# TYPE azure_virtual_machine_scale_set_percentage_cpu gauge
azure_virtual_machine_scale_set_percentage_cpu{resource_group="promitor-sources",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/promitor-sources/providers/Microsoft.Compute/virtualMachineScaleSets/promitor",instance_name="promitor",VMName="promitor_1"} 0.625 1578483485958
azure_virtual_machine_scale_set_percentage_cpu{resource_group="promitor-sources",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/promitor-sources/providers/Microsoft.Compute/virtualMachineScaleSets/promitor",instance_name="promitor",VMName="promitor_3"} 0.63375 1578483485958

@tomkerkhove tomkerkhove merged commit 006582b into master Jan 8, 2020
@tomkerkhove tomkerkhove deleted the features-vmss-scraper branch January 8, 2020 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide support for scraping Azure VMSS
2 participants