opensearch-project / dashboards-observability

Visualize and explore your logs, traces and metrics data in OpenSearch Dashboards
https://opensearch.org/docs/latest/observability-plugin/index/
Apache License 2.0
14 stars 46 forks source link

[Feature] Allow integration objects to keep the original ID when loading instead of replacing the IDs. #1731

Open YANG-DB opened 2 months ago

YANG-DB commented 2 months ago

What is the bug? When installing an Integration, it changes the dashboard's ID

How can one reproduce the bug? Steps to reproduce the behavior: 1) install an integration 2) review its name differs from the original given id

What is the expected behavior? Integration should not change dashboard's id - or at least allow a parameter to keep the original ID

Do you have any additional context? The installing of an integration should keep the same save concepts that already exist in the import save objects API and allow different importing options:

Swiddis commented 2 months ago

Working as intended, it's meant to change IDs while preserving all references in order to allow creating multiple copies of integration instances without ID collisions.

YANG-DB commented 2 months ago

Hi This capability is still needed since some cases required to save the original ID - this should operate in a similar way to the existing dashboards-management import API... Maybe this is not a bug ? will update the issue label...