Versions in this module Expand all Collapse all v0 v0.7.5 May 30, 2022 Changes in this version + var AWSRequestDurationMillis = stats.Float64("aws_req_duration", ...) + var AWSRequestRetries = stats.Int64("aws_retries", "Retried requests to AWS", stats.UnitDimensionless) + var AWSRequestRetriesView = &view.View + var AWSRequests = stats.Int64("aws_reqs", "Requests made to AWS", stats.UnitDimensionless) + var AWSRequestsDurationView = &view.View + var AWSRequestsView = &view.View + var BootstrappedHeads = stats.Int64("bootstrapped_heads", "Bootstrapped heads", stats.UnitDimensionless) + var BootstrappedHeadsView = &view.View + var ConnectedPeers = stats.Int64("connected_peers", "Peers connected to all heads", stats.UnitDimensionless) + var ConnectedPeersView = &view.View + var DefaultViews = []*view.View + var DelegatedFindProvs = stats.Int64("delegated_find_provs_total", ...) + var DelegatedFindProvsDuration = stats.Float64("delegated_find_provs_duration", ...) + var Heads = stats.Int64("heads", "Heads launched by Hydra", stats.UnitDimensionless) + var HeadsView = &view.View + var IPNSRecords = stats.Int64("ipns_records", "Number of IPNS records in the IPNS datastore", ...) + var IPNSRecordsView = &view.View + var InboundRequestLatencyView = &view.View + var KeyErrorCode = tag.NewKey("err_code") + var KeyHTTPCode = tag.NewKey("http_code") + var KeyName = tag.NewKey("name") + var KeyOperation = tag.NewKey("operation") + var KeyPeerID = tag.NewKey("peer_id") + var KeyStatus = tag.NewKey("status") + var OutboundRequestLatencyView = &view.View + var PrefetchDuration = stats.Float64("prov_prefetch_duration", ...) + var PrefetchDurationMillisView = &view.View + var PrefetchFailedToCache = stats.Int64("prov_prefetch_failed_to_cache", ...) + var PrefetchFailedToCacheView = &view.View + var PrefetchNegativeCacheHits = stats.Int64("prov_prefetch_neg_cache_hits", ...) + var PrefetchNegativeCacheHitsView = &view.View + var PrefetchNegativeCacheSize = stats.Int64("prov_prefetch_neg_cache_size", ...) + var PrefetchNegativeCacheSizeView = &view.View + var PrefetchNegativeCacheTTLSeconds = stats.Int64("prov_prefetch_neg_cache_ttl", "The TTL duration for negative cache entries", ...) + var PrefetchNegativeCacheTTLSecondsView = &view.View + var Prefetches = stats.Int64("prov_prefetches", ...) + var PrefetchesPending = stats.Int64("prov_prefetch_pending", ...) + var PrefetchesPendingLimit = stats.Int64("prov_prefetch_pending_limit", "The limit of the number of pending prefetches", ...) + var PrefetchesPendingLimitView = &view.View + var PrefetchesPendingView = &view.View + var PrefetchesView = &view.View + var PrometheusNamespace = "hydrabooster" + var ProviderDDBCollisions = stats.Int64("prov_ddb_collisions", ...) + var ProviderDDBCollisionsView = &view.View + var ProviderRecords = stats.Int64("provider_records", ...) + var ProviderRecordsPerKey = stats.Int64("provider_records_per_key", "Number of provider records returned per key", ...) + var ProviderRecordsPerKeyView = &view.View + var ProviderRecordsView = &view.View + var ReceivedBytesView = &view.View + var ReceivedMessageErrorsView = &view.View + var ReceivedMessagesView = &view.View + var RoutingTableSize = stats.Int64("routing_table_size", "Number of peers in the routing table", ...) + var RoutingTableSizeView = &view.View + var STIFindProvs = stats.Int64("sti_find_provs_total", ...) + var STIFindProvsDuration = stats.Float64("sti_find_provs_duration_nanoseconds", ...) + var STIFindProvsDurationView = &view.View + var STIFindProvsView = &view.View + var SentBytesView = &view.View + var SentMessageErrorsView = &view.View + var SentMessagesView = &view.View + var SentRequestErrorsView = &view.View + var SentRequestsView = &view.View + var UniquePeers = stats.Int64("unique_peers_total", "Total unique peers seen across all heads", ...) + var UniquePeersView = &view.View + func AddAWSSDKMiddleware(stack *smithymiddle.Stack) error + func ListenAndServe(address string) error + type AWSMetricsMiddleware struct + func (m *AWSMetricsMiddleware) HandleFinalize(ctx context.Context, in smithymiddle.FinalizeInput, ...) (smithymiddle.FinalizeOutput, smithymiddle.Metadata, error) + func (m *AWSMetricsMiddleware) ID() string