Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Span issue #289

Open
hmateusz opened this issue Nov 21, 2024 · 1 comment
Open

Span issue #289

hmateusz opened this issue Nov 21, 2024 · 1 comment

Comments

@hmateusz
Copy link

Affected Resource(s)

  • coralogix_dashboard

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

definition = {
                  line_chart = {
                    query_definitions = [
                      {
                        query = {
                          spans = {
                            aggregations = [
                              {
                                type             = "dimension"
                                field            = "trace_id"
                                aggregation_type = "unique_count"
                              }
                            ]
                            filters = [
                              {
                                field = {
                                  type  = "metadata"
                                  value = "operation_name"
                                }
                                operator = {
                                  type            = "equals"
                                  selected_values = ["device_status_update"]
                                }
                              },
                              {
                                field = {
                                  type  = "tag"
                                  value = "deviceStatus"
                                }
                                operator = {
                                  type            = "equals"
                                  selected_values = ["CANDYBOX_OFFLINE"]
                                }
                              }
                            ]
                            group_by = [
                              {
                                type  = "tag"
                                value = "deviceName"
                              }
                            ]
                          }
                        }
                        color_scheme = "classic"
                        is_visible   = true
                        scale_type   = "linear"
                      },
                    ]
                    legend = {
                      is_visible     = true
                      group_by_query = true
                      placement      = "auto"
                    },
                    tooltip = {
                      show_labels = false
                      type        = "all"
                    }
                  }
                }
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

Debug Output

https://gist.github.com/hmateusz/9d98d16ce9421ec0d76e1ebff7cac635

Panic Output

Expected Behavior

Terraform should destroy the resource and create it again

Actual Behavior

An error appeared even if we don't have the widget in our code

Steps to Reproduce

  1. terraform plan

Important Factoids

We're using Terraform version 1.9 and coralogix provider 1.18.2

References

  • #0000

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@celaus
Copy link
Collaborator

celaus commented Dec 20, 2024

Hi, we have been working on a better way of updating the underlying API for dashboards which should come out soon ™️ (January). I'll ask to see if the bug is fixed then 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants