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 API Management, Storage Account, Blob Storage & File Storage scalers #843

Merged
merged 16 commits into from
Jan 18, 2020

Conversation

tomkerkhove
Copy link
Owner

@tomkerkhove tomkerkhove commented Jan 18, 2020

Relates to #318
Relates to #331
Relates to #384
Relates to #386
Relates to #403

Examples

  • Azure API Management
# HELP promitor_demo_azureapimanagement_capacity The amount of capacity used an Azure API Management instance.
# TYPE promitor_demo_azureapimanagement_capacity gauge
promitor_demo_azureapimanagement_capacity{resource_group="iglooconf-2020",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/iglooconf-2020/providers/Microsoft.ApiManagement/service/iglooconf",instance_name="iglooconf"} 0.1 1579351390839
# HELP promitor_demo_azureapimanagement_capacity_dimension The amount of capacity used an Azure API Management instance.
# TYPE promitor_demo_azureapimanagement_capacity_dimension gauge
promitor_demo_azureapimanagement_capacity_dimension{resource_group="iglooconf-2020",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/iglooconf-2020/providers/Microsoft.ApiManagement/service/iglooconf",instance_name="iglooconf",location="West Europe"} 12.39622641509434 1579351391844
promitor_demo_azureapimanagement_capacity_dimension{resource_group="iglooconf-2020",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/iglooconf-2020/providers/Microsoft.ApiManagement/service/iglooconf",instance_name="iglooconf",location="UAE North"} 0 1579351391844
# HELP promitor_demo_azureapimanagement_capacity_eu The amount of capacity used an Azure API Management instance.
# TYPE promitor_demo_azureapimanagement_capacity_eu gauge
promitor_demo_azureapimanagement_capacity_eu{resource_group="iglooconf-2020",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/iglooconf-2020/providers/Microsoft.ApiManagement/service/iglooconf",instance_name="iglooconf",location="West Europe"} 12.39622641509434 1579351390416
  • Azure Storage Account
# HELP azure_storage_account_capacity The average capacity used in the storage account
# TYPE azure_storage_account_capacity gauge
azure_storage_account_capacity{resource_group="promitor",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/promitor/providers/Microsoft.Storage/storageAccounts/promitor",instance_name="promitor"} 3760807 1579351390024
  • Azure Blob Storage
# HELP azure_storage_blobs_capacity The average capacity used by blobs in the storage account
# TYPE azure_storage_blobs_capacity gauge
azure_storage_blobs_capacity{resource_group="promitor",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/promitor/providers/Microsoft.Storage/storageAccounts/promitor/blobServices/default",instance_name="promitor"} 87524 1579351805478
  • Azure File Storage
# HELP azure_storage_files_capacity The average capacity used by files in the storage account
# TYPE azure_storage_files_capacity gauge
azure_storage_files_capacity{resource_group="promitor",subscription_id="0f9d7fea-99e8-4768-8672-06a28514f77e",resource_uri="subscriptions/0f9d7fea-99e8-4768-8672-06a28514f77e/resourceGroups/promitor/providers/Microsoft.Storage/storageAccounts/promitor/fileServices/default",instance_name="promitor"} 217141 1579351804127

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

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-agent-scraper-pr843 \
                         --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:pr843

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

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

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-agent-scraper-pr843 \
                         --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:pr843

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

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

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-agent-scraper-pr843 \
                         --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:pr843

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

@tomkerkhove tomkerkhove changed the title Provide API Management, SQL Server, Storage Account, Blob Storage & File Storage scalers Provide API Management, Storage Account, Blob Storage & File Storage scalers Jan 18, 2020
@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:pr843

Want to verify the new version? Run it locally:

docker run -d -p 8999:80 --name promitor-agent-scraper-pr843 \
                         --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:pr843

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

@tomkerkhove tomkerkhove merged commit c41de57 into master Jan 18, 2020
@tomkerkhove tomkerkhove deleted the moar-scalers branch January 18, 2020 13:49
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.

2 participants