Categorygithub.com/cisco-open/appd-client-go
modulepackage
1.1.1
Repository: https://github.com/cisco-open/appd-client-go.git
Documentation: pkg.go.dev

# README

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: [email protected]

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

# Functions

NewClient Returns a Client, this is needed for any communication For backward compatibility Added 2023 Cisco Systems, Inc.
NewClientProxy Returns a Client, this is needed for any communication Modified by 2023 Cisco Systems, Inc.

# Constants

Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the deepDivePolicy argument.
Consts for the technique used to obtain metric data.
Consts for the technique used to obtain metric data.
Consts for the technique used to obtain metric data.
Consts for the technique used to obtain metric data.
Consts to the userExperience argument.
Consts to the userExperience argument.
Consts to the userExperience argument.
Consts to the userExperience argument.
Consts to the userExperience argument.

# Variables

No description provided by the author

# Structs

Account is needed to access all operations here.
No description provided by the author
DANGER ZONE following types are used for UNPUBLISHED api call and it may change in the future.
AnalyticsSearch represents a Saved Analytics Search, as of 4.4.3 this can only be accessed through the RestUI.
AnalyticsWidget is a widget inside an Analytics Search.
APIError to get HTTP response code to expected errors.
Application represents a single Business Application within AppDynamics Note that the REST version only has ID, Name and Description.
No description provided by the author
AssociatedEntityTemplate - associated entity type in exported dashboard Added 2023 Cisco Systems, Inc.
Backend represents a single Backend within AppDynamics application Note that the REST version only has ID, Name and Description.
BusinessTransaction represents one BT within one Application.
No description provided by the author
No description provided by the author
Client manages communication with AppDynamics.
No description provided by the author
Controller represents the AppDynamics Controller.
Dashboard represents a single Dashboard within AppDynamics.
DashboardExport represents a single Dashboard within AppDynamics as exported by Export function in json format Added 2023 Cisco Systems, Inc.
Added 2023 Cisco Systems, Inc.
DataSeriesTemplate - described data series for timeseries widgets Added 2023 Cisco Systems, Inc.
No description provided by the author
ErrorDetail details the errors that are present on the Snapshot.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HealthRule describes basic info about Helth rules attached to an application as returned by query for all health rules.
No description provided by the author
No description provided by the author
No description provided by the author
HealthRuleDetail describes detail information about specific health rule.
No description provided by the author
LicenseModule has an agent type and links to the properties and usage.
Link has a name and a location.
No description provided by the author
Metric represents a Metric object that might be a folder or child.
MetricData contains metric values for a single metric.
MetricValue is always part of an array of metrics, inside a MetricData struct.
Node represents one node within one Application.
Property is a simple license property.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Snapshot represents one Snapshot within one Application.
SnapshotFilters can be used to obtain a list of snapshots.
Tier represents one tier within one Application.
TimeRange represents a TimeRange on the controller Modified 2023 Cisco Systems, Inc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Usage has the usage details for a license type.
No description provided by the author
Widget - One Dashboard contains multiple Widgets.
WidgetExported - single widget as in dashboard export Added 2023 Cisco Systems, Inc.

# Type aliases

AccountService intermediates Account requests.
AnalyticsService intermediates Analytics Queries.
ApplicationService intermediates Application requests.
BackendService intermediates Application requests.
BusinessTransactionService intermediates BusinessTransaction requests.
This is going to be the service for configuration.
DashboardService intermediates Dashboard requests.
EventService provides event API.
DANGER ZONE this is an UNPUBLISHED API call - it may change in the future.
HealthRuleService intermediates Health Rules requests.
MetricDataService intermediates MetricData requests.
NodeService intermediates Node requests.
SnapshotService intermediates Snapshot requests.
TierService intermediates Tier requests.
TimeRangeService intermediates TimeRange operations.
TransactionRulesService provides transaction detection rules services.