|
33 | 33 | "REQ_IDLE_GLIDEINS": Gauge("de_req_idle_glideins_total", "Requested minimum idle glideins", ["ce"]), |
34 | 34 | "REQ_MAX_GLIDEINS": Gauge("de_req_max_glideins_total", "Requested max glideins", ["ce"]), |
35 | 35 | "TOTAL_SLOTS": Gauge( |
36 | | - "de_total_slots", "Total slots available", ["glidein_entry_name", "glidein_master_name", "glidein_site"] |
| 36 | + "de_total_slots", "Total slots available", ["glidein_entry_name", "glidein_site"] |
37 | 37 | ), |
38 | 38 | "TOTAL_SLOT_CPUS": Gauge( |
39 | | - "de_total_slot_cpus", "Total cpu slots available", ["glidein_entry_name", "glidein_master_name", "glidein_site"] |
| 39 | + "de_total_slot_cpus", "Total cpu slots available", ["glidein_entry_name", "glidein_site"] |
40 | 40 | ), |
41 | 41 | "TOTAL_CPUS": Gauge( |
42 | | - "de_total_cpu", "Total CPU available", ["glidein_entry_name", "glidein_master_name", "glidein_site"] |
| 42 | + "de_total_cpu", "Total CPU available", ["glidein_entry_name", "glidein_site"] |
43 | 43 | ), |
44 | 44 | # "MEMORY": Gauge("de_total_memory", "Allocated Memory"), |
45 | 45 | # "STATE": Gauge("de_state_slot","State of Slot" ), |
@@ -142,17 +142,14 @@ def transform(self, datablock): |
142 | 142 | for row in slots_df_rows: |
143 | 143 | METRICS["TOTAL_CPUS"].labels( |
144 | 144 | glidein_entry_name=row.GLIDEIN_Entry_Name, |
145 | | - glidein_master_name=row.GLIDEIN_MASTER_NAME, |
146 | 145 | glidein_site=row.GLIDEIN_Site, |
147 | 146 | ).set(row.TotalCpus) |
148 | 147 | METRICS["TOTAL_SLOTS"].labels( |
149 | 148 | glidein_entry_name=row.GLIDEIN_Entry_Name, |
150 | | - glidein_master_name=row.GLIDEIN_MASTER_NAME, |
151 | 149 | glidein_site=row.GLIDEIN_Site, |
152 | 150 | ).set(row.TotalSlots) |
153 | 151 | METRICS["TOTAL_SLOT_CPUS"].labels( |
154 | 152 | glidein_entry_name=row.GLIDEIN_Entry_Name, |
155 | | - glidein_master_name=row.GLIDEIN_MASTER_NAME, |
156 | 153 | glidein_site=row.GLIDEIN_Site, |
157 | 154 | ).set(row.TotalSlotCpus) |
158 | 155 |
|
|
0 commit comments