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

How do I remove the application of the application list #2340

Closed
TimeStarRipple opened this issue Dec 14, 2016 · 12 comments
Closed

How do I remove the application of the application list #2340

TimeStarRipple opened this issue Dec 14, 2016 · 12 comments

Comments

@TimeStarRipple
Copy link

Description

How do I remove the application of the application list

Environment

  • Pinpoint version:
  • OS, WAS, affected library, etc:
  • Additional details (e.g. how your collector/web is set up):
    Ubuntu14.04
    web,collector 1.6.0-RC2
    agent 1.6.0

Additional Info

@Xylus
Copy link
Contributor

Xylus commented Dec 14, 2016

Hi @TimeStarRipple
There's a bunch of admin APIs available for this kind of housekeeping stuff in AdminController.
The one you're looking for is /admin/removeApplicationName.pinpoint taking in applicationName as a request parameter.

Note that you'll have to pass in an additional parameter password to call these admin APIs. The value is the one you configured in pinpoint-web.properties.

@Xylus
Copy link
Contributor

Xylus commented Aug 21, 2017

I missed the .pinpoint extension from, sorry.
Fixed my comment above.

@angeloudy
Copy link

Is it possible to just remove one agentid? Because after I changed the agentId, the old one still shows on the inspector.

@koo-taejin
Copy link
Member

@angeloudy
you can to use following rest api
/admin/removeAgentId.pinpoint?applicationName=&agentId=

@altiankur
Copy link

altiankur commented Mar 19, 2018

@Rnic
Copy link

Rnic commented Apr 20, 2018

@altiankur i am getting "Missing password" too, can u fix this?

@Xylus
Copy link
Contributor

Xylus commented Apr 20, 2018

@Rnic
Copy link

Rnic commented Apr 20, 2018

@Xylus thank you for your help !

@gongjiang1
Copy link

@Xylus thank you for your help !

Oh, I have the same problem as you. What is the initial password? I don't remember I set it。

@minwoo-jung
Copy link
Member

@gongjiang1

Note that the value for the password parameter is what you defined admin.password property in pinpoint-web.properties. Leaving this blank will allow you to call admin APIs without the password parameter.

@gongjiang1
Copy link

@gongjiang1

Note that the value for the password parameter is what you defined admin.password property in pinpoint-web.properties. Leaving this blank will allow you to call admin APIs without the password parameter.

thx

@YangYanYing
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants