Graylog2 / Graylog2/graylog2-server

Investigate entity endpoints and add meta property in cases where it possible

Open
#20,835 1 comment 0 reactions 0 assignees View on GitHub
feature triaged
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.