-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a markdown with high level kubernetes metadata enrichment explanation #38757
Add a markdown with high level kubernetes metadata enrichment explanation #38757
Conversation
This pull request doesn't have a |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
@@ -0,0 +1,51 @@ | |||
## Kubernetes Metadata enrichment | |||
|
|||
[metadata diag](../_meta/images/enrichers.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see the image in the preview, can you see it @MichaelKatsoulis ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also don't understand what the image is trying to say... Is it just an example using 3 metricsets on what they are doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is supposed to show an example of different metricsets having their own metadata enricher but sharing same watchers which use the k8s API to watch for a resource.
I am open to all kind of suggestions !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! Maybe you can just write a sentence below the image saying that?
Should this part: beats/metricbeat/module/kubernetes/util/kubernetes.go Lines 911 to 924 in 8efb366
|
|
||
### Key Components: | ||
|
||
1. **Metricsets:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To differentiate with datasets. Just writ something same term is called datasets in elastic-agent.
https://www.elastic.co/blog/an-introduction-to-the-elastic-data-stream-naming-scheme
I think that the image is a little confusing. Maybe to put arrows to identify direction? |
Yes, I will add more info. |
@constanca-m and @gizas I answered all your review comments. Can you give it another go? |
### Key Components: | ||
|
||
1. **Metricsets/Datasets:** | ||
- Metricsets/Datasets are responsible for collecting metrics and events from various sources within Kubernetes, such as kubelet and kube-state-metrics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still dont explain why we have two terms. Users dont understand why this changes in beats vs agents. I think we should make this clear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gizas This markdown is in beats repo, under kubernetes module. There, only metricsets exist. Personally I would remove the dataset
as it is confusing. What kind of sentence do you want me to add?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed that we are under beats. I had in my mind that this could be a more general doc.
So ok you can remove datasets overall
LGTM @MichaelKatsoulis ! Some last minor comments |
Co-authored-by: Andrew Gizas <[email protected]>
Co-authored-by: Andrew Gizas <[email protected]>
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.