VictoriaMetrics/app
Yury Molodov d6484dbc11
vmui/logs: add ability to hide hits chart (#7206)
### Describe Your Changes

**Added ability to hide the hits chart**

- Users can now hide or show the hits chart by clicking the "eye" icon
located in the upper-right corner of the chart.
- When the chart is hidden, it will stop sending requests to
`/select/logsql/hits`.
- Upon displaying the chart again, it will automatically refresh. If a
relative time range is set, the chart will update according to the time
period of the logs currently being displayed.

**Hits chart visible:**

![image](https://github.com/user-attachments/assets/577e877b-6417-4b83-8d84-c55e3d39864a)

**Hits chart hidden:**

![image](https://github.com/user-attachments/assets/068b1143-d140-4d72-8d65-663900124f32)

Related issue: #7117

### Checklist

The following checks are **mandatory**:

- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
(cherry picked from commit 423df09d7d)
2024-10-18 11:42:17 +02:00
..
victoria-logs app/vlstorage: add support for forced merge via /internal/force_merge HTTP endpoint 2024-10-15 11:49:31 +02:00
vlinsert app/vlselect: do not show empty fields in query results 2024-10-15 11:49:32 +02:00
vlogscli app/vlogscli: add -accountID and -projectID command-line flags for querying the given tenants 2024-10-11 14:27:45 +02:00
vlogsgenerator all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 14:01:37 +02:00
vlselect app/vlselect/vmui: run make vmui-logs-update after the commit 6c9772b101 2024-10-17 11:09:17 -03:00
vlstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 11:18:45 -03:00
vmagent vmagent: fix type of command-line flag -streamAggr.dedupInterval (#7081) 2024-10-17 11:11:46 -03:00
vmalert vmalert: parse multi doc yaml (#6995) 2024-10-11 14:25:17 +02:00
vmalert-tool app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmauth app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmbackup app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmbackupmanager all: replace old https://docs.victoriametrics.com/vmbackupmanager.html url with the new one - https://docs.victoriametrics.com/vmbackupmanager/ 2024-04-18 02:04:39 +02:00
vmctl app/vmctl: fixes opentsdb source metric tags 2024-10-17 11:09:01 -03:00
vmgateway all: replace old https://docs.victoriametrics.com/vmgateway.html url with the new one - https://docs.victoriametrics.com/vmgateway/ 2024-04-18 02:08:53 +02:00
vminsert lib/protoparser/influx: enable batch processing by default (#7165) 2024-10-15 11:51:48 +02:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmselect lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 11:18:45 -03:00
vmstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 11:18:45 -03:00
vmui vmui/logs: add ability to hide hits chart (#7206) 2024-10-18 11:42:17 +02:00