Gather GUIDs from applications only with v4.0.0
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia riproducendo cf log-meta --noise --guid --sort-by=rate --source-type=application e il comando più recente senza --source-type, quindi esamina l’entry point della CLI che convalida --guid e --source-type. Confronta il comportamento di v3.1.0 e dell’ultima versione; il lavoro è completato quando l’output dell’application GUID è isolato in modo affidabile oppure viene documentata l’alternativa supportata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In order to get a list of the noisy neighbour applications up until now (up until the latest 4.0.0 release ) we were using v3.1.0 and the following command to get the GUIDs of the applications together with the log stats:
cf log-meta --noise --guid --sort-by=rate --source-type=application
After we get the guids we run another CF API call to get the organization and space where the app is running:
cf curl /v3/apps?guids=GUID[i]&include=space,space.organization and the end we show everything as a table.
Now we've installed the latest version of the log-cache cli plugin and we've got an error that the --guid switch can only be used with --source-type=platform. Therefore we've tested with:
cf log-meta --noise --sort-by=rate --guid
and in the output we've found guids and names of the CF's system components like:
b7a4131c-d903-4b96-a317-964e1683eac7 100000 11051395 1m25s 84498
99fb2c5e-6a0c-40a7-ae85-d84d7b4c2da7 100000 1012754700 1m9s 86893
cc 100000 1852851914 1m10s 100949
5173064e-ba3d-4ac5-870d-fc4e5189175e 100000 30521455 3m35s 105759
udp_forwarder 100000 2928951589 56s 109205
c828168b-46d0-485f-9311-c532d2657e26 100000 39282416 3m53s 113781
metrics_discovery_registrar 100000 3228728621 50s 120818
forwarder_agent 100000 3378198414 48s 126431
21f89441-0582-48f5-b4f4-2632d51336ea 100000 65673912 48s 132437
4b38f61e-db0f-4112-af0b-9e9366b6ffe8 100000 1205981622 2m30s 136012
metron 100000 3753111887 43s 140506
prom_scraper 100000 3766084995 43s 140872
830fcabf-c3c8-4e58-8d11-38108aa28d45 100000 2015974692 42s 149169
Are the GUIDs only from running applications? Can we simply run the output through GUID validator to filter out the system components and leave the application guids only?
Is there some other way to get only the guids of the applications?
Best Regards,
Jovan
- Lingua principale
- Go
- Stelle
- 18
- Fork
- 16
- Merge medio
- 9h 18m
- PR unite (30g)
- 7
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cloudfoundry/log-cache-cli
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
cloudfoundry/log-cache-cli#179 ·
-
enhancement help wanted unscheduled
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
cloudfoundry/log-cache-cli#11 · 3 commenti ·
Tutte le issue di cloudfoundry/log-cache-cli
Issue simili
-
Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
milvus-io/birdwatcher#545 ·
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
kubernetes-sigs/prow#953 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
caddyserver/caddy#8046 ·