Skip to content

Commit

Permalink
Editing some of the messages from previous prs
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanElsaban committed Mar 20, 2024
1 parent 14c8fa2 commit d49d236
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev/config/MASTER.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Please visit <wiki link> for a guide on how to setup Tron for local development
# Please visit y/tron-development for a guide on how to setup Tron for local development
state_persistence:
name: "tron_state"
table_name: "tmp-tron-state"
Expand Down
2 changes: 1 addition & 1 deletion requirements-minimal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ipython
Jinja2>=3.1.2
lockfile
moto
prometheus-client==0.20.0
prometheus-client
psutil
py-bcrypt
pyasn1
Expand Down
6 changes: 3 additions & 3 deletions tron/prom_metrics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from prometheus_client import Gauge


tron_cpu_gauge = Gauge("tron_k8s_cpus", "Measuring CPU for tron jobs on K8s")
tron_memory_gauge = Gauge("tron_k8s_mem", "Measuring memory for tron jobs on K8s")
tron_disk_gauge = Gauge("tron_k8s_disk", "Measuring disk for tron jobs on K8s")
tron_cpu_gauge = Gauge("tron_k8s_cpus", "Total number of CPUs allocated to Tron-launched containers")
tron_memory_gauge = Gauge("tron_k8s_mem", "Total amount of memory allocated to Tron-launched containers (in megabytes)")
tron_disk_gauge = Gauge("tron_k8s_disk", "Total amount of disk allocated to Tron-launched containers (in megabytes)")

0 comments on commit d49d236

Please sign in to comment.