Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppMetrics ¶
func GetAppMetrics(ctx context.Context, service *services.Service, appID int, filters common.GetFromToFilters) ([]common.Metric, *http.Response, error)
Gets the application's metric trend. For Web Probes, you can access Page Fetch Time, Server Response Time, DNS Time or Availability. If not specified, it defaults to Page Fetch Time (PFT). For CloudPath Probes, you can access latency metrics for End to End, Client - Egress, Egress - Application, ZIA Service Edge - Egress, and ZIA Service Edge - Application. If not specified, it defaults to End to End latency. If the time range is not specified, the endpoint defaults to the last 2 hours.
Gets the application's metric trend.
Types ¶
type Apps ¶
type Apps struct { ID int `json:"id"` Name string `json:"name,omitempty"` Score float32 `json:"score"` MostImpactedRegion *MostImpactedRegion `json:"most_impacted_region,omitempty"` Stats *Stats `json:"stats,omitempty"` TotalUsers int `json:"total_users,omitempty"` }
func GetAllApps ¶
func GetAllApps(ctx context.Context, service *services.Service, filters common.GetFromToFilters) ([]Apps, *http.Response, error)
Lists all active applications configured for a tenant. The endpoint gets each application's ZDX score (default for the last 2 hours), most impacted location, and the total number of users impacted. To learn more, see About the ZDX Dashboard at https://help.zscaler.com/zdx/about-zdx-dashboard.