Skip to content

This project provides access to the AppDynamics REST API in Go language.

License

Notifications You must be signed in to change notification settings

cisco-open/appd-client-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AppDynamics Go Client

This project provides access to the AppDynamics REST API in Go language.

Usage

import "github.com/cisco-open/appd-client-go"

Create a client, get every Business Transaction for every Application

client, _ :=  appdrest.NewClient("http", "192.168.33.10", 8090, "admin", "password", "customer1")

apps, err := client.Application.GetApplications()
	if err != nil {
		panic(err.Error())
	}
	for _, app := range apps {

		bts, err := client.BusinessTransaction.GetBusinessTransactions(app.ID)
		if err != nil {
			panic(err.Error())
		}
		for _, bt := range bts {
			fmt.Printf("App: %s, Tier: %s, BT: %s, Type: %s\n", app.Name, bt.TierName, bt.Name, bt.EntryPointType)
		}

	}

Projects using this library

Support

We welcome feedback, questions, issue reports and pull requests.

Maintainer's email address: mdivis@cisco.com

GitHub Issues

Acknowledgements

Based on work of https://github.com/dlopes7/go-appdynamics-rest-api

License

MIT License

Copyright (c) 2023 David Lopes
Copyright (c) 2023 Cisco Systems, Inc. and its affiliates

About

This project provides access to the AppDynamics REST API in Go language.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages