-
Notifications
You must be signed in to change notification settings - Fork 525
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
[apmpackage] Add config options supported in ESS #4690
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪Steps errorsExpand to view the steps failures
|
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.
Looks good overall, mostly just nit-picking.
As we only support one kind of buffering I'd prefer to say "Event buffer" rather than "In-Memory buffer".
It would be nice to add descriptions to all of these, particularly the likes of "RUM - Allow Origins". Perhaps in a followup?
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.
FYI there is mention of settings in https://github.com/elastic/apm-server/blob/master/apmpackage/apm/0.1.0/_dev/docs/README.template.md#configuration-parameters, either add all of these or remove the section altogether.
multi: true | ||
required: false | ||
show_user: false | ||
default: ['*'] |
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.
filed a bug report elastic/kibana#91401, as this value is currently not allowed.
Co-authored-by: Andrew Wilkins <axwalk@gmail.com>
Co-authored-by: Juan Álvarez <juan.alvarez@elastic.co>
eaaa67f
to
76f8f99
Compare
Codecov Report
@@ Coverage Diff @@
## master #4690 +/- ##
=======================================
Coverage 76.43% 76.43%
=======================================
Files 165 165
Lines 10083 10083
=======================================
Hits 7707 7707
Misses 2376 2376
|
@axw fyi - created elastic/kibana#91412 for the APM Server configuration editor |
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.
LGTM, but do you mind removing https://github.com/elastic/apm-server/blob/master/apmpackage/apm/0.1.0/_dev/docs/README.template.md#configuration-parameters if you are not updating it? We can leave that for @bmorelli25, he'll figure out how best to document that :)
Perhaps, also add that the queue settings are not supported in this version in the "Limitations" section.
…chemas-to-agents * upstream/master: (111 commits) Introduce metricset.name (elastic#4857) processor/otel: test service.version handling (elastic#4853) docs: Add PHP agent information to shared docs (elastic#4740) Script for faster development workflow (elastic#4731) Update to elastic/beats@1b31c26 (elastic#4763) backport: add 7.12 to .backportrc.json (elastic#4807) backport: enable auto-merge on backport PRs (elastic#4777) Support for Node.js profiles (elastic#4728) docs: readds .NET link (elastic#4764) [DOCS] Fixes URLs on Secure communication with APM Agents page (elastic#4746) ci: set proper parameters for the tar step (elastic#4696) docs: add 7.11.1 release notes (elastic#4727) Disable sourcemap upload endpoint when data streams enabled (elastic#4735) Add service name to dataset field (elastic#4674) Update to elastic/beats@ba423212a660 (elastic#4733) sampling: require a default policy (elastic#4729) processor/otel: add unit test for span status (elastic#4734) Add support for consuming OTLP/gRPC metrics (elastic#4722) [apmpackage] Add config options supported in ESS (elastic#4690) Use the apm-server version everywhere* (elastic#4725) ...
…te-schema-json-1 * upstream/master: (111 commits) Introduce metricset.name (elastic#4857) processor/otel: test service.version handling (elastic#4853) docs: Add PHP agent information to shared docs (elastic#4740) Script for faster development workflow (elastic#4731) Update to elastic/beats@1b31c26 (elastic#4763) backport: add 7.12 to .backportrc.json (elastic#4807) backport: enable auto-merge on backport PRs (elastic#4777) Support for Node.js profiles (elastic#4728) docs: readds .NET link (elastic#4764) [DOCS] Fixes URLs on Secure communication with APM Agents page (elastic#4746) ci: set proper parameters for the tar step (elastic#4696) docs: add 7.11.1 release notes (elastic#4727) Disable sourcemap upload endpoint when data streams enabled (elastic#4735) Add service name to dataset field (elastic#4674) Update to elastic/beats@ba423212a660 (elastic#4733) sampling: require a default policy (elastic#4729) processor/otel: add unit test for span status (elastic#4734) Add support for consuming OTLP/gRPC metrics (elastic#4722) [apmpackage] Add config options supported in ESS (elastic#4690) Use the apm-server version everywhere* (elastic#4725) ...
Tested trough the UI, works as expected |
Motivation/summary
Add config options to
apmpackage
for currently supported config options on ESS. This only adds options that make sense to support when run by Elastic Agent. There is currently no out-of-the-box way to group the options, although it would be nice to introduce e.g. arum
andsecurity
section.@jalvz and @axw I'd appreciate feedback regarding the wording and the config options themselves.
Currently supported in ESS, that are left out:
not supported by Agent:
apm-server.register.ingest.pipeline.*
apm-server.rum.source_mapping.*
apm-server.ilm
setup.template
logging.*
(onlylogging.level
is supported - per agent, not per input though)not deemed to be necessary:
apm-server.agent.config.cache.expiration
max_procs
Checklist
How to test these changes
./scripts/compose.py start master --with-elastic-agent --no-apm-server --with-package-registry --package-registry-apm-path=<your-path>/apm-server/apmpackage/apm
Related issues
part of #4528
Screenshot
Config options - Basic
Config options - Advanced