Skip to content
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

Update CODEOWNERS with new APM people #84120

Merged
merged 4 commits into from
Nov 24, 2020
Merged

Conversation

watson
Copy link
Contributor

@watson watson commented Nov 23, 2020

No description provided.

@watson watson requested review from trentm and astorm November 23, 2020 16:55
@watson watson self-assigned this Nov 23, 2020
@watson watson added release_note:skip Skip the PR/issue when compiling release notes v8.0.0 labels Nov 23, 2020
Copy link
Member

@trentm trentm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof, I suppose. Note that I am far from grokking config loading in Kibana. Certainly I'm a good contact for Node.js APM-specific issues, however.

@trentm
Copy link
Member

trentm commented Nov 23, 2020

There is also https://github.com/elastic/kibana/tree/master/packages/kbn-apm-config-loader/ into which some (much?) of src/apm.js was moved a while back.

Would using this team work better? https://github.com/orgs/elastic/teams/apm-agent-node-js

@watson
Copy link
Contributor Author

watson commented Nov 23, 2020

Ah yes, I didn't know @elastic/apm-agent-node-js existed. I'll update the PR to use the team.

Regarding kbn-apm-config-loader: Yeah, some of the config logic was moved to this package since I originally created the src/apm.js file. This was as far as I know mainly to facilitate that the APM agent config could be part of the regular Kibana config file instead of having its own config file.

In any case, no one are expecting you to be knowledgeable on how the Node.js agent is integrated with Kibana. But I personally felt it was nice to keep taps on changes to these files while being on the APM team as they are so intertwined.

@watson
Copy link
Contributor Author

watson commented Nov 23, 2020

@elastic/kibana-core is the kbn-apm-config-loader package owned by you? I noticed that there's no codeowner for it.

If so, should you also own this file? (src/apm.js)

@trentm
Copy link
Member

trentm commented Nov 23, 2020

I can understand keeping tabs on changes to these files in Kibana, because it is a very helpful dogfood candidate for the Node.js APM Agent. However, does having us automatically show up as a reviewer in PRs like #83977 give the impression that those PR require an approval from us to proceed? The GH repo settings suggest that code owners do need to approve.

@trentm trentm self-requested a review November 23, 2020 18:05
@watson
Copy link
Contributor Author

watson commented Nov 23, 2020

The GH repo settings suggest that code owners do need to approve.

@trentm In general yes. However, you'll see that people added as reviewers because of the CODEOWNERS file usually only review the code related to the files they own. And then they leave a review like elastic/apm-agent-node-js changes LGTM 👍

I felt an ownership over this file originally because it's easy to configure the agent in a bad way so that it either doesn't work correctly or potentially slows down the application too much. So I wanted to approve changes to this file so that people didn't introduce changes that would cause these things to happen.

I know you can't of course take this on currently. So in these cases it's fine to just leave a review comment saying something like that you couldn't review because X. Then it's up to the PR owner to consider if they want to merge regardless.

@trentm
Copy link
Member

trentm commented Nov 23, 2020

Okay, understood. I'm fine with this then. I'm curious about an answer from kibana-core on the kbn-apm-config-loader package.

@mshustov
Copy link
Contributor

Okay, understood. I'm fine with this then. I'm curious about an answer from kibana-core on the kbn-apm-config-loader package.

It should be on us as the core integrates APM in Kibana

@watson
Copy link
Contributor Author

watson commented Nov 23, 2020

@restrry do you want to own the src/apm.js file as well then? If so, then I'll update this PR and add @elastic/kibana-core as codeowner of both kbn-apm-config-loader and src/apm.js.

@vigneshshanmugam In that case, do you want me to remove you as codeowner also?

@mshustov
Copy link
Contributor

If so, then I'll update this PR and add @elastic/kibana-core as codeowner of both kbn-apm-config-loader and src/apm.js.

sounds good. I think it makes sense to keep @vigneshshanmugam at least in CC

Copy link

@astorm astorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds like this was sorted out in the issue, but with the "APM Monitoring Kibana" project moving forward it feels like the Kibana (core?) team should be the ones to own this file and decide how to use the agent's feature to instrument Kibana.

Copy link
Member

@vigneshshanmugam vigneshshanmugam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy to be in the loop for any change in apm configs and review those if needed. src/apm.js is also used by the RUM agent so, i am fine with keeping it as it is.

@watson
Copy link
Contributor Author

watson commented Nov 24, 2020

@vigneshshanmugam @elastic/kibana-core I added you on /packages/kbn-apm-config-loader/ as well.

@astorm @trentm I removed you both.

@watson watson merged commit a0a6518 into elastic:master Nov 24, 2020
@watson watson deleted the apm-codeowner branch November 24, 2020 09:27
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Nov 26, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 84120 or prevent reminders by adding the backport:skip label.

@pgayvallet pgayvallet added the backport:skip This commit does not require backporting label Nov 26, 2020
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants