Skip to content

Commit

Permalink
Merge Development for 4.4-RC2 (#193)
Browse files Browse the repository at this point in the history
* exporter queries, prometheus config file and dashboards for container deployments (#188)

* exporter queries, prometheus config file and dashboards

* same dashboards. But exported from Grafana GUI

* fix file permissions

* add links and fix units on network panel

* rename the 4 golden signals dashboard and add disk info to the saturation panel

* change metric names from ccp_container to ccp_nodemx, update dashboards with new names, remove invalid panel links

* rename queries_containers.yml to queries_nodemx.yml

* fix the description of process count metric

* exported dashboards to use externally

* Container related updates to Prometheus Configs (#191)

* Update Prometheus Job Name and Source Label

The 'Crunchy Collect' container has been moved
from the Crunchy Containers project to the Postgres
Operator project and renamed to 'Crunchy Postgres
Exporter'.

This updates the Prometheus config file for container
deployments to match the new container name.

* Update queries_nodemx.yml File Comment

Updates the comment beginning and ending
comments from referring to 'pod_metrics.yml'
to the current name, 'queries_nodemx.yml'.

Co-authored-by: Pramodh Mereddy <[email protected]>
Co-authored-by: tjmoore4 <[email protected]>
  • Loading branch information
3 people authored Aug 13, 2020
1 parent 9697c0d commit 82a1e39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions exporter/postgres/queries_nodemx.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###
#
# Begin File: pod_metrics.yml
# Begin File: queries_nodemx.yml
#
###
ccp_nodemx_network:
Expand Down Expand Up @@ -151,6 +151,6 @@ ccp_nodemx_data_disk:

###
#
# End File: pod_metrics.yml
# End File: queries_nodemx.yml
#
###
4 changes: 2 additions & 2 deletions prometheus/crunchy-prometheus.yml.containers
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ global:
evaluation_interval: 5s

scrape_configs:
- job_name: 'crunchy-collect'
- job_name: 'crunchy-postgres-exporter'
kubernetes_sd_configs:
- role: pod

relabel_configs:
- source_labels: [__meta_kubernetes_pod_label_crunchy_collect]
- source_labels: [__meta_kubernetes_pod_label_crunchy_postgres_exporter]
action: keep
regex: true
- source_labels: [__meta_kubernetes_pod_container_port_number]
Expand Down

0 comments on commit 82a1e39

Please sign in to comment.