apm
apm copied to clipboard
Make `include_process_args` an opt-in option
Description
Make include_process_args an opt-in option
Spec Issue
- [ ] https://github.com/elastic/apm/issues/809
Agent Issues
- [ ] https://github.com/elastic/apm-agent-dotnet/issues/2120
- [ ] https://github.com/elastic/apm-agent-nodejs/issues/3444
- [ ] https://github.com/elastic/apm-agent-python/issues/1860
- [ ] https://github.com/elastic/apm-agent-php/issues/1004
Does this include adding the option if we don't already support it? Python doesn't have include_process_args.
Does this include adding the option if we don't already support it? Python doesn't have include_process_args.
Yes, if the option is missing, then it should be added as part of this effort.
We should perhaps also:
- [ ] Update https://github.com/elastic/apm-server/blob/main/docs/apm-data-security.asciidoc#agent-specific-options when agents add this config option.
Aside: A thing that confused me for a short while: In the intake API it is metadata.process.argv. At some point that becomes process.args (s instead of v) in the Elasticsearch document. (It doesn't matter, but I'm not sure exactly where that transformation is done.)