Documentation
      ¶
    
    
  
    
  
    Index ¶
- func MemberlistStatusHandler(httpPathPrefix string, kvs *memberlist.KVInitService) http.Handler
 - type API
 - func (a *API) RegisterAPI(statusService statusv1.StatusServiceServer) error
 - func (a *API) RegisterAdHocProfiles(ahp *adhocprofiles.AdHocProfiles)
 - func (a *API) RegisterAdmin(ad *operations.Admin)
 - func (a *API) RegisterCatchAll() error
 - func (a *API) RegisterCompactor(c *compactor.MultitenantCompactor)
 - func (a *API) RegisterDistributor(d *distributor.Distributor)
 - func (a *API) RegisterFrontendForQuerierHandler(frontendSvc *frontend.Frontend)
 - func (a *API) RegisterIngester(svc *ingester.Ingester)
 - func (a *API) RegisterIngesterRing(r http.Handler)
 - func (a *API) RegisterMemberlistKV(pathPrefix string, kvs *memberlist.KVInitService)
 - func (a *API) RegisterMetastore(svc *metastore.Metastore)
 - func (a *API) RegisterOverridesExporter(oe *exporter.OverridesExporter)
 - func (a *API) RegisterPyroscopeHandlers(client querierv1connect.QuerierServiceClient)
 - func (a *API) RegisterQuerierServiceHandler(svc querierv1connect.QuerierServiceHandler)
 - func (a *API) RegisterQueryBackend(svc *querybackend.QueryBackend)
 - func (a *API) RegisterQueryScheduler(s *scheduler.Scheduler)
 - func (a *API) RegisterRoute(path string, handler http.Handler, auth, gzipEnabled bool, method string, ...)
 - func (a *API) RegisterRoutesWithPrefix(prefix string, handler http.Handler, auth, gzipEnabled bool, methods ...string)
 - func (a *API) RegisterRuntimeConfig(runtimeConfigHandler http.HandlerFunc, userLimitsHandler http.HandlerFunc)
 - func (a *API) RegisterSegmentWriter(svc *segmentwriter.SegmentWriterService)
 - func (a *API) RegisterSegmentWriterRing(r http.Handler)
 - func (a *API) RegisterStoreGateway(svc *storegateway.StoreGateway)
 - func (a *API) RegisterTenantSettings(ts *settings.TenantSettings)
 - func (a *API) RegisterVCSServiceHandler(svc vcsv1connect.VCSServiceHandler)
 - func (a *API) RegisterVersion(svc versionv1connect.VersionHandler)
 
- type Config
 - type IndexPageContent
 - type IndexPageLink
 - type IndexPageLinkGroup
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MemberlistStatusHandler ¶
func MemberlistStatusHandler(httpPathPrefix string, kvs *memberlist.KVInitService) http.Handler
Types ¶
type API ¶
type API struct {
	// contains filtered or unexported fields
}
    func (*API) RegisterAPI ¶
func (a *API) RegisterAPI(statusService statusv1.StatusServiceServer) error
RegisterAPI registers the standard endpoints associated with a running Pyroscope.
func (*API) RegisterAdHocProfiles ¶ added in v1.4.0
func (a *API) RegisterAdHocProfiles(ahp *adhocprofiles.AdHocProfiles)
func (*API) RegisterAdmin ¶ added in v1.2.1
func (a *API) RegisterAdmin(ad *operations.Admin)
func (*API) RegisterCatchAll ¶
func (*API) RegisterCompactor ¶ added in v1.2.0
func (a *API) RegisterCompactor(c *compactor.MultitenantCompactor)
RegisterCompactor registers routes associated with the compactor.
func (*API) RegisterDistributor ¶
func (a *API) RegisterDistributor(d *distributor.Distributor)
RegisterDistributor registers the endpoints associated with the distributor.
func (*API) RegisterFrontendForQuerierHandler ¶ added in v1.8.0
RegisterFrontendForQuerierHandler registers the endpoints associated with the query frontend.
func (*API) RegisterIngester ¶
RegisterIngester registers the endpoints associated with the ingester.
func (*API) RegisterIngesterRing ¶ added in v1.8.0
RegisterIngesterRing registers the ring UI page associated with the distributor for writes.
func (*API) RegisterMemberlistKV ¶
func (a *API) RegisterMemberlistKV(pathPrefix string, kvs *memberlist.KVInitService)
RegisterMemberlistKV registers the endpoints associated with the memberlist KV store.
func (*API) RegisterMetastore ¶ added in v1.8.0
func (*API) RegisterOverridesExporter ¶
func (a *API) RegisterOverridesExporter(oe *exporter.OverridesExporter)
RegisterOverridesExporter registers the endpoints associated with the overrides exporter.
func (*API) RegisterPyroscopeHandlers ¶
func (a *API) RegisterPyroscopeHandlers(client querierv1connect.QuerierServiceClient)
func (*API) RegisterQuerierServiceHandler ¶ added in v1.8.0
func (a *API) RegisterQuerierServiceHandler(svc querierv1connect.QuerierServiceHandler)
func (*API) RegisterQueryBackend ¶ added in v1.8.0
func (a *API) RegisterQueryBackend(svc *querybackend.QueryBackend)
func (*API) RegisterQueryScheduler ¶
RegisterQueryScheduler registers the endpoints associated with the query scheduler.
func (*API) RegisterRoute ¶
func (a *API) RegisterRoute(path string, handler http.Handler, auth, gzipEnabled bool, method string, methods ...string)
RegisterRoute registers a single route enforcing HTTP methods. A single route is expected to be specific about which HTTP methods are supported.
func (*API) RegisterRoutesWithPrefix ¶
func (*API) RegisterRuntimeConfig ¶
func (a *API) RegisterRuntimeConfig(runtimeConfigHandler http.HandlerFunc, userLimitsHandler http.HandlerFunc)
RegisterRuntimeConfig registers the endpoints associates with the runtime configuration
func (*API) RegisterSegmentWriter ¶ added in v1.8.0
func (a *API) RegisterSegmentWriter(svc *segmentwriter.SegmentWriterService)
func (*API) RegisterSegmentWriterRing ¶ added in v1.8.0
RegisterSegmentWriterRing registers the ring UI page associated with the distributor for writes.
func (*API) RegisterStoreGateway ¶
func (a *API) RegisterStoreGateway(svc *storegateway.StoreGateway)
func (*API) RegisterTenantSettings ¶ added in v1.2.1
func (a *API) RegisterTenantSettings(ts *settings.TenantSettings)
func (*API) RegisterVCSServiceHandler ¶ added in v1.8.0
func (a *API) RegisterVCSServiceHandler(svc vcsv1connect.VCSServiceHandler)
func (*API) RegisterVersion ¶ added in v1.2.1
func (a *API) RegisterVersion(svc versionv1connect.VersionHandler)
RegisterVersion registers the endpoints associated with the versions service.
type Config ¶
type Config struct {
	// The following configs are injected by the upstream caller.
	HTTPAuthMiddleware middleware.Interface `yaml:"-"`
	GrpcAuthMiddleware connect.Option       `yaml:"-"`
	BaseURL            string               `yaml:"base-url"`
}
    func (*Config) RegisterFlags ¶
RegisterFlags registers api-related flags.
type IndexPageContent ¶
type IndexPageContent struct {
	// contains filtered or unexported fields
}
    IndexPageContent is a map of sections to path -> description.
func NewIndexPageContent ¶
func NewIndexPageContent() *IndexPageContent
func (*IndexPageContent) AddLinks ¶
func (pc *IndexPageContent) AddLinks(weight int, groupDesc string, links []IndexPageLink)
func (*IndexPageContent) GetContent ¶
func (pc *IndexPageContent) GetContent() []IndexPageLinkGroup
type IndexPageLink ¶
type IndexPageLinkGroup ¶
type IndexPageLinkGroup struct {
	Desc  string
	Links []IndexPageLink
	// contains filtered or unexported fields
}