1. fixed date time component recursive update
2. Update traces, metrics, logs chart on resize
3. Fixed timestamp while adding absolute time to query request
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
1. Fixed log histogram interval
2. added by default labels for zo_ prefix metrics to handle large volume
metrics
3. UI fixes on traces and metrics explorer field values
- Open query editor when mode changed,
- On apply get correct date and time on add/edit panel page
- Fix: In PromQL mode, dashboard is getting saved without panel name,
- Fix: Cannot read properties of undefined (reading 'label') in
dashboard
- Fix Slack Icon warnings due to darkmode
---------
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
## Design Spec:
- POST `/api/:org/ingest/metrics/_json`
```json
[
{
"__name__": "stream name",
"__type__": "counter / gauge / histogram / summary",
"label_name1": "label_value1",
"label_name2": "label_value2",
"_timestamp": 0, // unix timestamp in millisecond
"value": 0.0 // float64 value
}
]
```
## How to use this API:
- must use `__name__` set stream name.
- must use `__type__` set metrics type. and the type can't be updated
after first record
- `_timestamp` needs UNIX timestamp or empty will fill by current
timestamp
- `value` should be float64 or int64
## Example:
POST `/api/default/ingest/metrics/_json`
```json
[
{
"__name__": "cpu",
"__type__": "gauge",
"namespace": "ziox",
"container": "zo1",
"_timestamp": 1687326643584062,
"value": 10.1
},
{
"__name__": "cpu",
"__type__": "gauge",
"namespace": "ziox",
"container": "zo2",
"value": 0.1
}
]
```
1. Logs page histogram chart title
2. Fetching updated streams in logs on switching to logs page
3. Fetching updated streams in metrics on switching to logs page
- #865
- Field list separator (available vs non-availabe fields that can be
used)
- Do not wipe the fields from field drop area when moving from auto to
sql mode
- Pick field names from field list that have been modified in SQL query
editor in drop area as well.
- Show errors that you get from back end.
- Current query mode indicator is not properly reflected when editing
- Fix Panel remembered some data like query editor was open when coming
back for any edit chart or add chart again
- X, Y axis will not be wiped when switching from SQL to CustomSQL mode
and the fields will be converted in the axis
- Filters row hidden in the custom SQL mode as there is no meaning of it
in custom SQL mode