Graylog2 / Graylog2/graylog2-server
Investigate entity endpoints and add meta property in cases where it possible
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## What?
Investigate entity endpoints and define where is it possible to add `meta` data property.
## Why?
Sometimes we have to run N requests to get additional information about each line in EntityTable. (for example data_warehouse config for each stream). This information is needed to render some specific parameters on the table. In the case of a large amount of entities, it might cause performance issues.
We can improve that by adding some metadata info in the BE response.
In https://github.com/Graylog2/graylog2-server/pull/20834/files we extend EntityData table component. Now we can pass some metadata using meta parameters. The data will be accessible from the column renderer functions and hook.
## Your Environment
* Graylog Version:
* OpenSearch Version:
* MongoDB Version:
* Operating System:
* Browser version:
Contributor guide
Assessment
This issue has not been assessed yet.