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

[APM] NP migration packgeInfo API for branch #49237

Closed
ogupte opened this issue Oct 24, 2019 · 2 comments
Closed

[APM] NP migration packgeInfo API for branch #49237

ogupte opened this issue Oct 24, 2019 · 2 comments
Assignees
Labels
Team:APM All issues that need APM UI Team support v7.6.0

Comments

@ogupte
Copy link
Contributor

ogupte commented Oct 24, 2019

Meta issue: #32894
PackageInfo issue: #45262

Replace

import { metadata } from 'ui/metadata';  
console.log(metadata.branch)

with

function(context: PluginInitializerContext) {
  console.log(context.env.packageInfo.branch)
}

This could possibly be added to the useCore hook.

@ogupte ogupte added [zube]: Inbox Team:APM All issues that need APM UI Team support v7.6.0 labels Oct 24, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@sorenlouv
Copy link
Member

@ogupte You currently working on this or should I move this to the backlog?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:APM All issues that need APM UI Team support v7.6.0
Projects
None yet
Development

No branches or pull requests

4 participants