[Kubernetes] Add state namespace datastream - #8329
Conversation
Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
🌐 Coverage report
|
Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
|
Another idea is to consider if we need to add this info of namespace in our dashboards. To add it in Overview or in Pods? @MichaelKatsoulis , @tetianakravchenko , @ChrsMark suggestions? |
| Kubernetes namespace metrics. | ||
|
|
||
| fields: | ||
| - name: created.sec |
There was a problem hiding this comment.
should here be defined metric_type ?
There was a problem hiding this comment.
Since TSDB won't be enabled, then the metric type does not need to be defined.
There was a problem hiding this comment.
The advantages of TSDB are related to the metric types. This data stream only has one metric type, so there wouldn't be any. We followed a similar approach for other data streams that only had one metric, such as AWS Billing or GCP Billing @gizas
There was a problem hiding this comment.
After TSDB meeting discussion, we are enabling TSDB in all metric data streams after all. I updated the commits and will update the description now.
Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
Enable TSDB. Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
|
Package kubernetes - 1.52.0 containing this change is available at https://epr.elastic.co/search?package=kubernetes |
|
Package kubernetes - 1.55.0 containing this change is available at https://epr.elastic.co/search?package=kubernetes |
* Add state namespace Signed-off-by: constanca-m <constanca.manteigas@elastic.co> * Update changelog. Signed-off-by: constanca-m <constanca.manteigas@elastic.co> * Update description. Signed-off-by: constanca-m <constanca.manteigas@elastic.co> * Delete dimensions. Signed-off-by: constanca-m <constanca.manteigas@elastic.co> * Delete extra base fields. Signed-off-by: constanca-m <constanca.manteigas@elastic.co> * Add dimensions and metric type. Enable TSDB. Signed-off-by: constanca-m <constanca.manteigas@elastic.co> * Update KSM read me file. Signed-off-by: constanca-m <constanca.manteigas@elastic.co> * Update KSM read me file. Signed-off-by: constanca-m <constanca.manteigas@elastic.co> --------- Signed-off-by: constanca-m <constanca.manteigas@elastic.co>
What
Add state namespace data stream.
The metricset was added in version 8.11.0.
Dimensions for TSDB:
kubernetes.namespaceis unique, so it is a dimension.agent.idis a common dimension among data streams.orchestrator.cluster.urlis a dimension for all kubernetes data streams.Results from running TSDB testing kit:
Checklist
changelog.ymlfile.How to test this PR locally
Related issues
Relates to elastic/elastic-agent#3100.
Screenshots
In Discover:

In the integration itself:
