Add chart for distribution of logs in ClickHouse #131
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit adds a new chart component, which shows the distribution of
logs in the selected time range for the ClickHouse plugin, when it is
used in the "logs" mode. With the new chart it is possible to see when
the most of the logs were written in the selected time range. The chart
always contains 30 buckets and is simular to the one, which is known
from Kibana.
The chart can also be used within a ClickHouse panel. For this a new
option "showChart" was added. This option is only used when the type for
the panel is set to "logs".
We also adjusted the CodeQL to remove some warnings and following the
latest recommendations.