Proposal for a Summary Mode to Display Diff Status by Resource
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia tracciando il comando diffs esistente e il suo comportamento con --filter. Definisci l'output di riepilogo per le risorse con e senza differenze, quindi verifica che gli utenti possano usare il workflow di filtraggio esistente per esaminare il diff completo di una risorsa selezionata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Overview of issue:
Reading through the diffs output has been quite challenging. Currently, the tool provides a comprehensive output for each resource in the diff. However, interpreting the exact differences by manually reading the JSON output is not practical for larger datasets or organizations. It requires significant effort to sift through the details.
Proposed changes:
I propose adding a "summary mode" to the diffs command that lists resources where differences exist, without showing the full diff content initially. This summary mode would provide a high-level view of which resources have changes. Users could then apply filters to narrow down the output as needed, making the tool more user-friendly and efficient for real-world usage in Datadog Organizations data migration scenarios.
Here is an example of what the output could look like:
# this is the format
synced resource Title
execution sample.
datadog-sync diffs --summary
output sample.
O monitors "[Auto] Clock sync in NTP"
X monitors "Server system load.1 has increasing"
X dashboards "Foobar dashboard"
X dashboards "Amazon ECS"
O logs_indexes "foo Index"
O logs_indexes "bar Index"
... and so on
With this summary output, I can easily identify which resources have differences (indicated by "X"). Then, I can check the specific details of a resource's difference using a filter, such as:
datadog-sync diffs --filter='Type=dashboard;Name=name;Value=Foobar dashboard'
This workflow would allow users to quickly locate and focus on the resources with changes, and then use filtering options to drill down into the details when necessary, significantly improving the usability of the tool.
- Lingua principale
- Python
- Stelle
- 79
- Fork
- 26
- Merge medio
- 22h 1m
- PR unite (30g)
- 25
Guida per i contributori
Apri la guida per i contributori
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 DataDog/datadog-sync-cli
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
DataDog/datadog-sync-cli#698 · 1 reazione ·
-
CCM Resources Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
DataDog/datadog-sync-cli#697 ·
-
All security_monitoring_rules fail to sync: cases.condition is stripped from the create payload Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
DataDog/datadog-sync-cli#598 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
DataDog/datadog-sync-cli#597 · 1 commento · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
DataDog/datadog-sync-cli#501 ·
Tutte le issue di DataDog/datadog-sync-cli
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·