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

Adding scraping interval to metricDefaults and metrics #456

Conversation

brandonh-msft
Copy link
Contributor

Partial fix for #258, #259

This adds the YAML configuration support for metricDefaults.scraping.interval and <metric>.scraping.interval.

As of this PR, however, metricDefault does not fill out the metric scraping interval if it is not supplied; this work must be done in the scraper and only makes sense after we have fully rid ourselves of the CronSchedule Environment parameter. This will be done in a future PR.

@brandonh-msft brandonh-msft force-pushed the brandonh/feature/metric-scraping-interval branch from 2c7662e to 86b666e Compare March 26, 2019 22:05
@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:pr456

Want to verify the new version? Run it locally:

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

1 similar comment
@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:pr456

Want to verify the new version? Run it locally:

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

@brandonh-msft brandonh-msft force-pushed the brandonh/feature/metric-scraping-interval branch from d028667 to 9220830 Compare March 27, 2019 16:48
@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:pr456

Want to verify the new version? Run it locally:

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

@brandonh-msft brandonh-msft force-pushed the brandonh/feature/metric-scraping-interval branch from 9220830 to 87d7c19 Compare March 27, 2019 17:18
@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:pr456

Want to verify the new version? Run it locally:

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

@brandonh-msft brandonh-msft force-pushed the brandonh/feature/metric-scraping-interval branch from 87d7c19 to b8612b5 Compare March 27, 2019 17:30
@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:pr456

Want to verify the new version? Run it locally:

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

@brandonh-msft brandonh-msft self-assigned this Mar 27, 2019
@brandonh-msft brandonh-msft added feature All issues that are new features scraper-source All issues related to new scraper sources from Azure Monitor labels Mar 27, 2019
Copy link
Contributor

@brusMX brusMX left a comment

Choose a reason for hiding this comment

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

LGTM. I think my comments I will reserve my comments for the actual implementation

@brusMX brusMX merged commit a903949 into tomkerkhove:master Mar 27, 2019
@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 scraper-source All issues related to new scraper sources from Azure Monitor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants