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 Container Registry scraper #455

Merged
merged 16 commits into from
Mar 27, 2019

Conversation

tomkerkhove
Copy link
Owner

@tomkerkhove tomkerkhove commented Mar 26, 2019

Provide Container Registry scraper

Closes #325

Configuration

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

# 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

@promitor-bot
Copy link

promitor-bot commented Mar 26, 2019

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:pr455

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Copy link
Owner Author

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provide documentation please

@tomkerkhove tomkerkhove changed the title Provide Container Registry scraper WIP - Provide Container Registry scraper Mar 26, 2019
@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:pr455

Want to verify the new version? Run it locally:

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

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
@tomkerkhove tomkerkhove changed the title WIP - Provide Container Registry scraper Provide Container Registry scraper Mar 26, 2019
@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:pr455

Want to verify the new version? Run it locally:

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

@brusMX brusMX self-requested a review March 26, 2019 22:30
@brusMX
Copy link
Contributor

brusMX commented Mar 26, 2019

/block /stop /not-merge

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

Want to verify the new version? Run it locally:

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

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

Want to verify the new version? Run it locally:

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

@tomkerkhove tomkerkhove merged commit 71244fc into master Mar 27, 2019
@tomkerkhove tomkerkhove deleted the features-container-registry-scraper branch March 27, 2019 00:19
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.

4 participants