-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bring to parity with metrics and logs hints-based auto-discovery #28
Comments
How would the equivalent to |
Maybe something like |
naming pattern updated in 973a447 |
this might be nitpicking, but I'm not convinced that the suggested naming of |
Good question. Maybe BTW, this issue is currently only about hint-based auto-discovery because of how the first webhook version works. I think that ideally we should support any other type of auto-discovery that logs and metrics support. |
Good points, Silvia. Another idea: |
All of the suggestions are (to me) implying that the configuration differs only on the type of agent used for auto-instrumentation ( |
++ on the idea of having these patterns also for apm. I'm currently working on a doc around setting a high level vision on how Elastic Agent in k8s should work. One of the main ideas in there is to have a k8s-fleet-operator. Now having these labels, the fleet-operator could take over doing the auto-instrumentation and if any of the containers has a label that other apm-agents are used, automatically setup the apm-server and inject the proper configurations (environment variables?) into the container to make sure data is delivered to the local apm-server. |
So users don't even need to actively add or configure the APM integration? That sounds fantastic! Would the fleet operator be able to leverage this webhook for attachment by automatically installing it when it discovers an |
Yes, exactly. But keep in mind, this is all brainstorming so far. |
@axw @felixbarny @marclop and I have picked this up again and I added a table with proposed names to the description. Let's keep that up-to date while we continue the conversation. @alex-fedotyev and @chrisdistasio can you please chime in and help defining the naming. |
As we're thinking to rename the helm chart to |
Last call for objections: If there are no objections by tomorrow, we'll change the annotation to |
I like the suggestion of @felixbarny @axw @Mpdreamz @AlexanderWert @alex-fedotyev @chrisdistasio @graphaelli any concerns about the suggested name? |
My initial thought reading this again was aligning naming the the types in the data stream naming scheme. But an APM Agent can send data too all different types. Because of this I like that Pinging @gizas also on this from the cloud native team to make sure it does not conflict and align with other autodisocvery concerns. |
Hello all, This is the current WIP: elastic/elastic-agent#662 I dont see any conflict at the moment and I like as well the suggestion of co.elastic.apm/attach: . (Will need some more time to review the whole context but on the other hand feel free to comment on above 662 as well) |
@trentm @estolfo regarding the remaining steps for making the attacher GA, I'd suggest to remove the legacy annotation |
The legacy annotation is dropped in #98. Additional support for labels and annotations can come later, post GA. |
Context: elastic/beats#23876
It’ll be great if our APM integration would follow as similar patterns as possible to logs and metrics integrations.
A non-exhaustive list of related items includes:
co.elastic.traces
prefix, followed by/
and sub configuration if requiredList of discussed naming patterns:
agent
for ambiguity with elastic-agentThe text was updated successfully, but these errors were encountered: