Documentation ¶
Index ¶
- Constants
- type CircleComponentHealthRepresentation
- type CircleHealthRepresentation
- type CircleHealthTypeRepresentation
- type CircleRequestsRepresentation
- type ComponentMetricRepresentation
- type ComponentRepresentation
- type DeploymentInCircle
- type Main
- func (main Main) Components(circleIDHeader, circleId, projectionType, metricType string, ...) (ComponentMetricRepresentation, error)
- func (main Main) ComponentsHealth(circleIDHeader, circleId string, workspaceID uuid.UUID) (CircleHealthRepresentation, error)
- func (main Main) GetAverageHttpErrorsPercentageStringQuery(circleSource string) string
- func (main Main) GetAverageLatencyStringQuery(circleSource string) string
- type UseCases
Constants ¶
View Source
const ( REQUESTS_BY_CIRCLE = "req/s" REQUESTS_ERRORS_BY_CIRCLE = "%" REQUESTS_LATENCY_BY_CIRCLE = "ms" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircleHealthRepresentation ¶
type CircleHealthRepresentation struct { Requests CircleRequestsRepresentation `json:"requests"` Latency CircleHealthTypeRepresentation `json:"latency"` Errors CircleHealthTypeRepresentation `json:"errors"` }
type CircleHealthTypeRepresentation ¶
type CircleHealthTypeRepresentation struct { Unit string `json:"unit"` CircleComponents []CircleComponentHealthRepresentation `json:"circleComponents"` }
type ComponentMetricRepresentation ¶
type ComponentMetricRepresentation struct { Period string `json:"period"` Type string `json:"type"` Components []ComponentRepresentation `json:"components"` }
type ComponentRepresentation ¶
type ComponentRepresentation struct { Name string `json:"name"` Module string `json:"module"` Data []datasourcePKG.Value `json:"data"` }
type DeploymentInCircle ¶
type Main ¶
type Main struct {
// contains filtered or unexported fields
}
func (Main) Components ¶
func (Main) ComponentsHealth ¶
func (Main) GetAverageHttpErrorsPercentageStringQuery ¶
func (Main) GetAverageLatencyStringQuery ¶
Click to show internal directories.
Click to hide internal directories.