https://github.com/cisco-open/appd-client-go
This project provides access to the AppDynamics REST API in Go language.
https://github.com/cisco-open/appd-client-go
Last synced: about 2 months ago
JSON representation
This project provides access to the AppDynamics REST API in Go language.
- Host: GitHub
- URL: https://github.com/cisco-open/appd-client-go
- Owner: cisco-open
- License: mit
- Created: 2023-06-12T09:23:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T08:00:11.000Z (8 months ago)
- Last Synced: 2024-09-09T09:33:57.020Z (8 months ago)
- Language: Go
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# AppDynamics Go Client
This project provides access to the [AppDynamics REST API](https://docs.appdynamics.com/appd/23.x/latest/en/extend-appdynamics/appdynamics-apis) in Go language.## Usage ##
```go
import "github.com/cisco-open/appd-client-go"
```Create a client, get every Business Transaction for every Application
```go
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 ##
* [AppDynamics Swagger Tool](https://github.com/cisco-open/swagger-appd-tool)
## Support ##
We welcome feedback, questions, issue reports and pull requests.
Maintainer's email address: [email protected]
[GitHub Issues](https://github.com/cisco-open/appd-client-go/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