Change APM OSS plugin name from apm_oss to apmOss#60379
Change APM OSS plugin name from apm_oss to apmOss#60379mohinderps wants to merge 2 commits intoelastic:masterfrom
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
Pinging @elastic/apm-ui (Team:apm) |
|
@elasticmachine test this please |
smith
left a comment
There was a problem hiding this comment.
Thanks for doing this! 👍 assuming tests pass.
|
retest |
1 similar comment
|
retest |
|
Hi @sqren, what has happened here ? Is there anything I need to do here ? |
|
@elasticmachine merge upstream |
Just the build acting up. I'll kick it. |
Cool! |
|
retest |
2 similar comments
|
retest |
|
retest |
|
@elasticmachine merge upstream |
|
retest |
1 similar comment
|
retest |
x-pack/plugins/apm/kibana.json
Outdated
There was a problem hiding this comment.
I think the build is failing because the following two instances of apm_oss also need to be changed:
to:
apmOss: APMOSSPluginSetup; and...
to:
const mergedConfig$ = combineLatest(plugins.apmOss.config$, config$).pipe( @joshdover do you agree?
There was a problem hiding this comment.
@sqren I think you're right. This is happening on startup for me:
server log [08:08:06.407] [fatal][root] TypeError: Cannot read property 'config$' of undefined
at APMPlugin.setup (/Users/smith/Code/kibana/x-pack/plugins/apm/server/plugin.ts:54:57)
at PluginWrapper.setup (/Users/smith/Code/kibana/src/core/server/plugins/plugin.ts:100:26)
at PluginsSystem.setupPlugins (/Users/smith/Code/kibana/src/core/server/plugins/plugins_system.ts:91:25)
at process._tickCallback (internal/process/next_tick.js:68:7)
There was a problem hiding this comment.
Oh! I can do that.
ce04ace to
0b86fe8
Compare
|
retest |
|
@elasticmachine test this please |
💔 Build Failed
Failed CI Steps
History
To update your PR or re-run it, just comment with: |
smith
left a comment
There was a problem hiding this comment.
Looks like this is failing with:
FATAL TypeError: Cannot read property 'registerLegacyAPI' of undefined
which I think is happening here:
kibana/x-pack/legacy/plugins/apm/index.ts
Line 140 in 9243b6d
I haven't gotten a chance to figure out what's causing that though.
|
Tagging this as 7.8. |
Looking into this. |
|
@mohinderps Let me know if you need any help looking in to this. |
Yes please. I have no idea why |
|
@mohinderps I was able to get the CI tests to pass in another branch and also updated the plugin name in the apm dependencies in this PR: #66164. Thank you for the contribution! |
Closes #59184
Summary
Snake case plugin names give warning in console. In this PR, APM OSS plugin's name is changed fro apm_oss to apmOss