-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7e2600
commit 447e8ae
Showing
20 changed files
with
2,282 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
}, | ||
|
||
"Grafana": { | ||
"ApiKey": "", | ||
"ApiKey": "", | ||
"Uri": "http://grafana:3000" | ||
}, | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -284,4 +284,4 @@ DEPENDENCIES | |
tzinfo-data | ||
|
||
BUNDLED WITH | ||
2.2.29 | ||
2.3.22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: default | ||
title: Grafana Annotations | ||
parent: Features | ||
nav_order: 0 | ||
--- | ||
|
||
# Grafana Annotations | ||
|
||
DocGraf can be [configured]({{ site.baseurl }}{% link configuration/index.md %}#docker-config) to publish [Grafana Annotations](https://grafana.com/docs/grafana/v9.0/dashboards/annotations/) for specific [Docker Events](https://docs.docker.com/engine/reference/commandline/events/). When a configured event occurrs, DocGraf will publish that event as an Annotation to Grafana with the following information: | ||
|
||
* *Text*: `<event> <container> <tag>` | ||
* *Timestamp* of the event | ||
* Tags: | ||
* Event Type | ||
* Event | ||
* Container | ||
* Image | ||
* Image Tag | ||
|
||
These annotations can be visualized in several ways on Grafana such as a list of recent events: | ||
|
||
 | ||
|
||
Or overlayed on top of other charts to correlate container events with out system metrics: | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
title: Features | ||
nav_order: 3 | ||
has_children: true | ||
--- | ||
|
||
# Features | ||
|
||
In the DocGraf repo there is a [sample Grafana Dashboard](https://github.com/philosowaffle/docgraf/tree/main/grafana/grafana_dashboard.json) that demonstrates several different ways to use these features. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
layout: default | ||
title: Prometheus Metrics | ||
parent: Features | ||
nav_order: 1 | ||
--- | ||
|
||
# Prometheus Metrics | ||
|
||
DocGraf can be [configured]({{ site.baseurl }}{% link configuration/index.md %}#metrics-config) to expose [Prometheus Metrics](https://prometheus.io/). The metrics exposed are grouped into two categories: | ||
|
||
1. `docgraf_docker_events_recv` | ||
1. This metric will always capture all received events from the Docker daemon | ||
1. `docgraf_docker_events_recorded` | ||
1. This metric will be a subset of `docgraf_docker_events_recv`, it is only the events that were recorded as Annotations | ||
|
||
Both metrics expose the following labels: | ||
|
||
1. Event Type | ||
1. Event | ||
1. Container | ||
1. Image | ||
1. Image Tag | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.