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

Virtual machine metrics #454

Merged
merged 5 commits into from
Mar 26, 2019

Conversation

melmaliacone
Copy link

@melmaliacone melmaliacone commented Mar 26, 2019

Provides support for scraping Azure Virtual Machines

Example configuration:

name: demo_virtualmachine_percentage_cpu
description: "Average percentage cpu usage of our 'promitor-virtual-machine' virtual machine"
resourceType: VirtualMachine
virtualMachineName: promitor-virtual-machine
azureMetricConfiguration:
  metricName: Percentage CPU
  aggregation:
    type: Average

Closes #309

@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:pr454

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-scraper-pr454 \
                         --env PROMITOR_AUTH_APPID='<azure-ad-app-id>' \
                         --env PROMITOR_AUTH_APPKEY='<azure-ad-app-key>' \
                         --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml \
                         tomkerkhove/promitor-agent-scraper-ci:pr454

@tomkerkhove tomkerkhove merged commit 1f54551 into tomkerkhove:master Mar 26, 2019
@tomkerkhove
Copy link
Owner

Thank you @michellemcone ! 🎉

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.

3 participants