Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
12-07-2022 12:57 AM
Hi,
Can we get the license usage summary by application name using API?
I’ve tried the license usage with the license ID and account ID but getting the availability of the license as an output.
GET /controller/licensing/v1/usage/license/{licenseId}
(http://<host>:<port>/controller/licensing/v1/usage/license/{licenseId}
http://<host>:<port>/controller/licensing/v1/usage/account/{accountId})
These APIs are running well but not getting the output I’m looking for.
I’m looking for the usage, like how much of the license is consumed in real-time.
I appreciate any help you can provide.
Solved! Go to Solution.
12-07-2022 06:09 PM
Hi Pratik
Thanks for posting question to the community!
Plz refer to this API: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/license-api#id-...
Hope this answer helps!
BR,
Xiangning
01-03-2023 03:35 AM
Hi,
I'm able to retrieve the data by application name using the code in this API: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/license-api#id-...
But the fallbackLicenseUnit parameter in response is giving output as blank. No data is coming for the fallbackLicenseUnit.
Is there any way by which I can get the license consumption units in Infrastructure based Licensing?
01-09-2023 10:03 PM
Hi Pratik,
Are you using Infrastructure-based Licensing Packages?
If you are using Agent-based Licensing Packages, there is no API meeting your needs at the moment.
BTW, here is the documentation about Infrastructure-based Licensing Packages and Agent-based Licensing Packages: https://docs.appdynamics.com/appd/22.x/latest/en/appdynamics-licensing
Kind regards,
Xiangning
01-10-2023 01:43 PM - edited 01-10-2023 01:48 PM
Hey Pratik,
i've not found a way to do this through the API. but you can count the number of agents per application to give an insight into where the licenses may be being used
eg I do this in my my open source rapport application
Rapport is free and can be found at https://chickenkatsu.co.uk/apps/rapport/
Sunil
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form