Filtering by dashboards in a specific dashboard list doe not work as expected
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Inizia riproducendo i comandi documentati import e diffs per la risorsa dashboard_lists, quindi traccia gli entry point del filtraggio di dashboard-list e di resource-connection. Il lavoro è completato quando l’importazione dell’elenco selezionato rende disponibile anche il relativo dashboard e diffs non lo segnala più come una connessione non riuscita.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Update: I've spoken to someone at Datadog Support and we've updated the commands (the outcome is still the same)
I want to import just the single Dashboard "Random" in a dashboard list called "Sync EU Test". Importing from US1 and trying to sync to EU1.
Using the docker image built from the latest commit in this repo (SHA1 f0d5cac8a17dc9af49a0c7aa91a8ec18a6dbde18)
docker run --rm -v "$(pwd)/datadog-sync-data:/datadog-sync:rw" \
-e DD_SOURCE_API_KEY="${DD_API_KEY}" \
-e DD_SOURCE_APP_KEY="${DD_APP_KEY}" \
-e DD_SOURCE_API_URL="${DD_SITE_URL}" \
datadog-sync:latest import \
--resources="dashboard_lists" \
--filter "Type=dashboard_lists;Name=name;Value=^Sync EU Test$" \
--verify-ddr-status=false \
--verbose --send-metrics=false
This appears to be correct I'm assuming one resource for the Dashboard and one resource for the Dashboard Lists.
2025-04-08 16:33:59,605 - WARNING - Defaulting to filter Operator `ExactMatch'. Please ensure the filter Value provided is updated as this behavior will be removed in the future. See the official README.md for more information.
2025-04-08 16:33:59,605 - INFO - Using local filesystem to store state files
2025-04-08 16:33:59,649 - DEBUG - Using selector: EpollSelector
2025-04-08 16:34:00,167 - INFO - clients validated successfully
2025-04-08 16:34:00,167 - WARNING - DDR verification skipped.
2025-04-08 16:34:00,167 - INFO - Starting import...
--omitted progress bars--
2025-04-08 16:34:00,371 - INFO - Finished getting resources. Successes: 1, Failures: 0, Skipped: 0, Filtered: 0
2025-04-08 16:34:00,372 - INFO - importing individual resource items
2025-04-08 16:34:00,550 - DEBUG - Sent metrics to destination for dashboard_lists
--omitted progress bars--
2025-04-08 16:34:00,550 - DEBUG - Sent metrics to source for dashboard_lists
--omitted progress bars--
2025-04-08 16:34:00,553 - INFO - finished importing individual resource items: Successes: 1, Failures: 0, Skipped: 0, Filtered: 19.
2025-04-08 16:34:00,764 - INFO - Finished import
Running diff fails to create the dashboard we wanted to import
docker run --rm -v "$(pwd)/datadog-sync-data:/datadog-sync:rw" \
-e DD_DESTINATION_API_KEY="${DD_EU_API_KEY}" \
-e DD_DESTINATION_APP_KEY="${DD_EU_APP_KEY}" \
-e DD_DESTINATION_API_URL="${DD_EU_SITE_URL}" \
datadog-sync:latest diffs \
--resources="dashboard_lists" \
--filter "Type=dashboard_lists;Name=name;Value=^Sync EU Test$" \
--verify-ddr-status=false \
--verbose --send-metrics=false
2025-04-08 16:36:44,786 - WARNING - Defaulting to filter Operator `ExactMatch'. Please ensure the filter Value provided is updated as this behavior will be removed in the future. See the official README.md for more information.
2025-04-08 16:36:44,786 - INFO - Using local filesystem to store state files
2025-04-08 16:36:44,833 - DEBUG - Using selector: EpollSelector
2025-04-08 16:36:44,973 - INFO - clients validated successfully
2025-04-08 16:36:44,973 - WARNING - DDR verification skipped.
2025-04-08 16:36:44,973 - INFO - Starting diffs...
2025-04-08 16:36:44,974 - INFO - [dashboard_lists - 548252] - skipping resource: Failed to connect resource. {'dashboards': ['nhi-422-6bk']}
2025-04-08 16:36:44,990 - INFO - Finished diffs
- 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
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
learningequality/kolibri#15351 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Name consistency Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
eellak/triplestore#65 · 1 commento ·