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 support for scraping metrics for Azure Container Registry #325

Closed
tomkerkhove opened this issue Mar 8, 2019 · 0 comments
Closed
Assignees
Labels
feature All issues that are new features metric-source:unknown All issues that relate to scraping metrics from a data source that is still to be defined scraper-source All issues related to new scraper sources from Azure Monitor
Milestone

Comments

@tomkerkhove
Copy link
Owner

Provide support for scraping metrics for Azure Container Registry

@tomkerkhove tomkerkhove added feature All issues that are new features scraper-source All issues related to new scraper sources from Azure Monitor metric-source:unknown All issues that relate to scraping metrics from a data source that is still to be defined labels Mar 8, 2019
@tomkerkhove tomkerkhove self-assigned this Mar 26, 2019
tomkerkhove added a commit that referenced this issue Mar 27, 2019
Provide Container Registry scraper

Closes #325

### Configuration
```yaml
azureMetadata:
  tenantId: c8819874-9e56-4e3f-b1a8-1c0325138f27
  subscriptionId: 0f9d7fea-99e8-4768-8672-06a28514f77e
  resourceGroupName: promitor-sources
metricDefaults:
  aggregation:
    interval: 01:00:00
metrics:
  - name: demo_generic_total_pull_count
    description: "Amount of images that were pulled from the container registry"
    resourceType: ContainerRegistry
    registryName: promitor
    azureMetricConfiguration:
      metricName: TotalPullCount
      aggregation:
        type: Average
```

### Output
```yaml
# HELP demo_generic_total_pull_count Amount of images that were pulled from the container registry
# TYPE demo_generic_total_pull_count gauge
demo_generic_total_pull_count 1 1553635305491
```
### Portal
![image](https://user-images.githubusercontent.com/4345663/55034449-b5015280-4fd2-11e9-8332-f10033d647dd.png)
@tomkerkhove tomkerkhove added this to the v1.0.0 milestone Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature All issues that are new features metric-source:unknown All issues that relate to scraping metrics from a data source that is still to be defined scraper-source All issues related to new scraper sources from Azure Monitor
Projects
None yet
Development

No branches or pull requests

1 participant