Skip to content

Ensure "copy filter criteria" output works with the --filter option #96

@mmanciop

Description

@mmanciop

The --filter option works with single filters, each a JSON object, but in the UI, the command palette copies all the filters in an array of objects like:

[
  {
    "key": "user_agent.name",
    "operator": "is",
    "value": "dash0-cli"
  },
  {
    "key": "service.name",
    "operator": "is_one_of",
    "values": [
      "api"
    ]
  }
]

It should be possible to pass the array to --filter like if each object in it had been passed to separate --filter arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions