Documentation ¶
Index ¶
Constants ¶
View Source
const ( RPS = `sum(irate(request_total%s[%s])) by (app)` SUCCESSRATE = `sum(irate(response_total%s[%s])) by (app) / sum(irate(response_total%s[%s])) by (app)` DEBUG2 = `` /* 153-byte string literal not displayed */ DEBUG3 = `histogram_quantile(0.5, sum(irate(response_latency_ms_bucket{direction="inbound"}[30s])) by (le,app))` IncomingIdentityQuery = `count(response_total{deployment!="", direction="inbound"}) by (deployment, app, version, client_id, namespace, no_tls_reason)` OutgoingIdentityQuery = `` /* 142-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer( addr string, grafanaAddr string, controllerNamespace string, clusterDomain string, reload bool, uuid string, apiClient api.Client, k8sAPI *k8s.KubernetesAPI, ) *http.Server
NewServer returns an initialized `http.Server`, configured to listen on an address, render templates, and serve static assets, for a given Linkerd control plane.
Types ¶
type AppVersionNamespace ¶
type AppVersionNamespace string
Click to show internal directories.
Click to hide internal directories.