Uh oh!
There was an error while loading. Please reload this page.
introduce enabled/recording settings - #790
Conversation
Uh oh!
There was an error while loading. Please reload this page.
basepi
left a comment
There was a problem hiding this comment.
I may be missing something, but I'm not sure I can see code paths for stopping the agent when enabled is set to False via remote config. It appears that all enabled code paths are only hit on startup, around starting threads and instrumenting code. We need to be able to disable the agent in mid-run as well via remote config, right?
beniwohli
commented
Apr 20, 2020
@basepi the "spec" (a.k.a. random comment amidst lengthy discussion) says
That's the only place I'm aware of that defines behavior of these new settings. Is there any other place I missed? |
basepi
commented
Apr 20, 2020
Oh! I missed that. I thought enabled was a remote config option as well. We always talk about That certainly makes things easier, thanks for the explanation. |
basepi
left a comment
There was a problem hiding this comment.
Great work on this! Definitely simpler and cleaner without having to deal with enabled from remote config, that was the piece that I was planning to spend the most time one. Probably good you got to this one since you had internalized the requirements better than I had. 👍
💚 Build SucceededExpand to view the summaryBuild stats
Test stats 🧪
|
basepi
commented
Apr 30, 2020
@beniwohli if this is ready let's get it merged on Monday and cut a new release early next week. |
instance.address is not set on those versions
* introduce enabled/recording settings see elastic/apm#92 (comment) Co-authored-by: Colton Myers <colton.myers@gmail.com>
* introduce enabled/recording settings see elastic/apm#92 (comment) Co-authored-by: Colton Myers <colton.myers@gmail.com>
* introduce enabled/recording settings see elastic/apm#92 (comment) Co-authored-by: Colton Myers <colton.myers@gmail.com>
What does this pull request do?
Introduce
recording/enabledas per elastic/apm#92 (comment)