Documentation
¶
Index ¶
- func RecordCacheLookup(ctx context.Context, result, typ string)
- func RecordUpstreamFetch(ctx context.Context, result string)
- func RecordUpstreamFetchDuration(ctx context.Context, result string, duration time.Duration)
- func RegisterExporter(traceExporter, url, service, env string) (func(), error)
- func RegisterStatsExporter(r *mux.Router, statsExporter, service string) (func(), error)
- func StartSpan(ctx context.Context, op string) (context.Context, *trace.Span)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordCacheLookup ¶ added in v0.17.0
func RecordUpstreamFetch ¶ added in v0.17.0
func RecordUpstreamFetchDuration ¶ added in v0.17.0
func RegisterExporter ¶
RegisterExporter determines the type of TraceExporter service for exporting traces from opencensus User can choose from multiple tracing services (datadog, jaegar) RegisterExporter returns the 'Flush' function for that particular tracing service.
func RegisterStatsExporter ¶ added in v0.3.0
RegisterStatsExporter determines the type of StatsExporter service for exporting stats from Opencensus Currently it supports: prometheus.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.