Skip to content

Conversation

@dvdksn
Copy link
Contributor

@dvdksn dvdksn commented Apr 23, 2024

Description

Preview

Adds documentation for the new metrics exporter API endpoint, which lets users use Prometheus to scrape Docker Scout metrics.

Related issues or tickets

Reviews

  • Technical review
  • Editorial review

@github-actions github-actions bot added the area/scout Relates to Docker Scout label Apr 23, 2024
@netlify
Copy link

netlify bot commented Apr 23, 2024

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 9e2ef18
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/662f895ce7ccd200074cff1c
😎 Deploy Preview https://deploy-preview-19854--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dvdksn dvdksn requested a review from felipecruz91 April 23, 2024 15:27
@dvdksn dvdksn force-pushed the scout-prometheus-exporter branch from 4ef3e91 to c365b52 Compare April 24, 2024 21:49
Copy link
Contributor

@felipecruz91 felipecruz91 left a comment

Choose a reason for hiding this comment

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

Forgot to remove the honor_timestamps from the Prometheus config.

@dvdksn dvdksn force-pushed the scout-prometheus-exporter branch from c365b52 to 2dcb0f9 Compare April 25, 2024 08:23
@dvdksn dvdksn requested a review from felipecruz91 April 25, 2024 08:25
@dvdksn dvdksn marked this pull request as ready for review April 25, 2024 08:25
Copy link
Contributor

@felipecruz91 felipecruz91 left a comment

Choose a reason for hiding this comment

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

Some more minor comments.

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn force-pushed the scout-prometheus-exporter branch from 06ccdd9 to 42c4c51 Compare April 25, 2024 13:01
@github-actions github-actions bot added the hugo Updates related to hugo label Apr 25, 2024
Copy link
Contributor

@felipecruz91 felipecruz91 left a comment

Choose a reason for hiding this comment

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

Great job David, it looks great!

@dvdksn dvdksn requested a review from a team April 25, 2024 16:48
Copy link
Contributor

@aevesdocker aevesdocker left a comment

Choose a reason for hiding this comment

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

LGTM, just some minor quibbles

To view the Grafana dashboards, go to <http://localhost:3000/dashboards>,
and sign in using the credentials defined in the Docker Compose file (username: `admin`, password: `grafana`).

![Policy dashboard in Grafana](./images/scout-metrics-grafana.png "Policy dashboard in Grafana")
Copy link
Contributor

Choose a reason for hiding this comment

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

Follow up PR to add this to our style guide?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I can add an example to the images page

dvdksn added 2 commits April 29, 2024 13:49
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn force-pushed the scout-prometheus-exporter branch from 42c4c51 to 9e2ef18 Compare April 29, 2024 11:49
@dvdksn dvdksn requested a review from aevesdocker April 29, 2024 11:50
@dvdksn dvdksn merged commit 0a7cb79 into docker:main Apr 29, 2024
@dvdksn dvdksn deleted the scout-prometheus-exporter branch April 29, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/scout Relates to Docker Scout hugo Updates related to hugo status/review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants