help with multi-grid

This issue has been tracked since 2021-12-08.

i can't set up multi-grid from cluster-name

my config is:

labels:
  order:
    - instance
    - job
  color:
    static:
      - job
    unique:
      - cluster
      - instance
      - "@receiver"
      - "@cluster"
    custom:
      "@cluster":
        - value: eu-do
          color: "#70e1e1"
        - value: single
          color: "#ff6347"
      region:
        - value_re: ".*"
          color: "#736598"
      severity:
        - value: info
          color: "#87c4e0"
        - value: warning
          color: "#ffae42"
        - value: critical
          color: "#ff220c"
  valueOnly:
    - alertname
    - severity
    - job
    - region
    - "@cluster"
grid:
  sorting:
    order: label
    reverse: false
    label: cluster
    customValues:
      labels:
        cluster:
          ny-do: 1
          eu-do: 2
          ams-do: 3
        #severity:
          #critical: 1
          #warning: 2
          #info: 3
  auto:
    order:
      #- severity
      - cluster
listen:
  address: "0.0.0.0"
  port: 8080
  prefix: /
log:
  config: false
  level: info
receivers:
  keep: []
  strip: []
ui:
  refresh: 10s
  hideFiltersWhenIdle: true
  colorTitlebar: false
  theme: auto
  animations: true
  minimalGroupWidth: 420
  alertsPerGroup: 5
  collapseGroups: collapsedOnMobile
  multiGridSortReverse: false

but all messages set in one line and one grid
2021-12-08_09-51-04

prymitive wrote this answer on 2021-12-08

Did you configure it in the UI?
You don’t have “ui: multiGridLabel: cluster” in your config file.
Example: https://github.com/prymitive/karma/blob/main/demo/karma.yaml#L135

vasyakrg wrote this answer on 2021-12-08

Did you configure it in the UI?
You don’t have “ui: multiGridLabel: cluster” in your config file.
Example: https://github.com/prymitive/karma/blob/main/demo/karma.yaml#L135

i added its in config, but not result.
BUT, i change multiGridSortReverse: false to multiGridSortReverse: true

worked!

More Details About Repo
Owner Name prymitive
Repo Name karma
Full Name prymitive/karma
Language TypeScript
Created Date 2018-09-09
Updated Date 2023-03-17
Star Count 1921
Watcher Count 33
Fork Count 166
Issue Count 2

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date