sdkagent

opencensus-python API reference

100 public APIs from opencensus-python (census-instrumentation/opencensus-python) — 67 classes, 1 functions, 32 methods. Signatures extracted by static analysis of the actual source.

Repository: census-instrumentation/opencensus-python

KindCount
Classes67
Functions1
Methods32

API list

classcontrib.opencensus-ext-django.opencensus.ext.django.middleware.OpencensusMiddleware
Saves the request in thread local
classcontrib.opencensus-ext-grpc.opencensus.ext.grpc.utils.WrappedResponseIterator
Wraps the rpc response iterator.
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.AgentClientUDP
Implement a UDP client to agent.
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.JaegerExporter
Exports the spans to Jaeger.
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.agent.emitBatch_args
Attributes: - batch
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.Batch
Attributes: - process - spans
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.BatchSubmitResponse
Attributes: - ok
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.Log
Attributes: - timestamp - fields
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.Process
Attributes: - serviceName - tags
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.submitBatches_args
Attributes: - batches
classcontrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.submitBatches_result
Attributes: - success
classcontrib.opencensus-ext-stackdriver.opencensus.ext.stackdriver.stats_exporter.Options
Exporter configuration options.
classcontrib.opencensus-ext-zipkin.opencensus.ext.zipkin.trace_exporter.ZipkinExporter
Export the spans to Zipkin.
methodopencensus.common.resource.Resource.get_labels()
Get this resource's labels.
methodopencensus.common.resource.Resource.get_type()
Get this resource's type.
classopencensus.common.schedule.PeriodicTask
Thread that periodically calls a given function.
classopencensus.common.transports.base.Transport
Base class for transport.
methodopencensus.common.transports.base.Transport.export(datas)
Export the data.
methodopencensus.common.transports.base.Transport.flush()
Submit any pending data.
classopencensus.log.TraceLoggingAdapter
Adapter to add opencensus context attrs to records.
classopencensus.metrics.export.cumulative.CumulativePointDouble
A `GaugePointDouble` that cannot decrease.
classopencensus.metrics.export.cumulative.CumulativePointLong
A `GaugePointLong` that cannot decrease.
classopencensus.metrics.export.cumulative.DoubleCumulative
Records cumulative float-valued measurements.
classopencensus.metrics.export.cumulative.LongCumulative
Records cumulative int-valued measurements.
classopencensus.metrics.export.cumulative.LongCumulativeMixin
Type mixin for long-valued cumulative measures.
classopencensus.metrics.export.gauge.BaseGauge
Base class for sets instantaneous measurements.
classopencensus.metrics.export.gauge.DerivedDoubleGauge
Gauge for derived float-valued measurements.
classopencensus.metrics.export.gauge.DerivedGauge
Gauge that tracks values of other functions.
classopencensus.metrics.export.gauge.DerivedLongGauge
Gauge for derived int-valued measurements.
classopencensus.metrics.export.gauge.DoubleGauge
Gauge for recording float-valued measurements.
classopencensus.metrics.export.gauge.DoubleGaugeMixin
Type mixin for float-valued gauges.
classopencensus.metrics.export.gauge.GaugePointDouble
An instantaneous measurement from a DoubleGauge.
methodopencensus.metrics.export.gauge.GaugePointDouble.get_value()
Get the current value.
classopencensus.metrics.export.gauge.GaugePointLong
An instantaneous measurement from a LongGauge.
methodopencensus.metrics.export.gauge.GaugePointLong.get_value()
Get the current value.
classopencensus.metrics.export.gauge.LongGauge
Gauge for recording int-valued measurements.
classopencensus.metrics.export.gauge.LongGaugeMixin
Type mixin for long-valued gauges.
classopencensus.metrics.export.gauge.Registry
A collection of gauges to be exported together.
classopencensus.metrics.export.metric.Metric
A collection of time series data and label metadata.
classopencensus.metrics.export.metric_descriptor.MetricDescriptor
Defines a metric type and its schema.
classopencensus.metrics.export.metric_descriptor.MetricDescriptorType
The kind of metric.
classopencensus.metrics.export.metric_producer.MetricProducer
Produces a set of metrics for export.
classopencensus.metrics.export.point.Point
A timestamped measurement of a TimeSeries.
classopencensus.metrics.export.value.Bucket
A bucket of a histogram.
classopencensus.metrics.export.value.Explicit
Set of explicit bucket boundaries.
classopencensus.metrics.export.value.ValueDistribution
Summary statistics for a population of values.
classopencensus.metrics.export.value.ValueDouble
A 64-bit double-precision floating-point number.
classopencensus.metrics.export.value.ValueLong
A 64-bit integer.
methodopencensus.metrics.label_key.LabelKey.key()
the key for the label
classopencensus.metrics.label_value.LabelValue
The label values associated with the TimeSeries.
methodopencensus.metrics.label_value.LabelValue.value()
the value for the label
classopencensus.metrics.transport.PeriodicMetricTask
Thread that periodically calls a given function.
classopencensus.stats.base_exporter.StatsExporter
Base class for opencensus stats exporters.
classopencensus.stats.measure.MeasureFloat
Creates a Float Measure
classopencensus.stats.measure.MeasureInt
Creates an Integer Measure
classopencensus.stats.measurement.MeasurementFloat
Creates a new Float Measurement
classopencensus.stats.measurement.MeasurementInt
Creates a new Integer Measurement
methodopencensus.stats.view.View.columns()
the columns of the current view
methodopencensus.stats.view.View.measure()
the measure of the current view
methodopencensus.stats.view.View.name()
the name of the current view
classopencensus.tags.tag.Tag
A tag, in the format [KEY]:[VALUE].
classopencensus.tags.tag_key.TagKey
A tag key with a property name
classopencensus.tags.tag_value.TagValue
The value of a tag
methodopencensus.trace.attributes.Attributes.get_attribute(key)
Get a attribute value.
methodopencensus.trace.attributes.Attributes.set_attribute(key, value)
Set a key value pair.
classopencensus.trace.base_exporter.Exporter
Base class for opencensus trace request exporters.
methodopencensus.trace.base_exporter.Exporter.export(span_datas)
Export the trace.
classopencensus.trace.base_span.BaseSpan
Base class for Opencensus spans.
methodopencensus.trace.base_span.BaseSpan.add_link(link)
Add a Link.
methodopencensus.trace.base_span.BaseSpan.finish()
Set the end time for a span.
methodopencensus.trace.base_span.BaseSpan.set_status(status)
Sets span status.
classopencensus.trace.print_exporter.PrintExporter
Export the spans by printing them.
classopencensus.trace.propagation.b3_format.B3FormatPropagator
Propagator for the B3 HTTP header format.
classopencensus.trace.samplers.ProbabilitySampler
Sample a request at a fixed rate.
classopencensus.trace.samplers.Sampler
Base class for opencensus trace request samplers.
classopencensus.trace.span.BoundedDict
A dict with a fixed max capacity.
classopencensus.trace.span.BoundedList
An append only list with a fixed max size.
methodopencensus.trace.span.Span.add_attribute(attribute_key, attribute_value)
Add attribute to span.
methodopencensus.trace.span.Span.add_link(link)
Add a Link.
methodopencensus.trace.span.Span.finish()
Set the end time for a span.
methodopencensus.trace.span.Span.set_status(status)
Sets span status.
methodopencensus.trace.span.Span.start()
Set the start time for a span.
classopencensus.trace.stack_trace.StackFrame
Represents a single stack frame in a stack trace.
classopencensus.trace.stack_trace.StackTrace
A call stack appearing in a trace.
funcopencensus.trace.stack_trace.generate_hash_id()
Generate a hash id.
classopencensus.trace.time_event.Annotation
Text annotation with a set of attributes.
classopencensus.trace.time_event.Type
Indicates whether the message was sent or received.
classopencensus.trace.trace_options.TraceOptions
A class that represents global trace options.
methodopencensus.trace.tracer.Tracer.current_span()
Return the current span.
methodopencensus.trace.tracer.Tracer.end_span()
End a span.
methodopencensus.trace.tracer.Tracer.finish()
End all spans.
classopencensus.trace.tracers.base.Tracer
Base class for Opencensus tracers.
methodopencensus.trace.tracers.base.Tracer.current_span()
Return the current span.
methodopencensus.trace.tracers.base.Tracer.end_span()
End a span.
methodopencensus.trace.tracers.base.Tracer.list_collected_spans()
List collected spans.
methodopencensus.trace.tracers.base.Tracer.start_span(name='span')
Start a span.
classopencensus.trace.tracers.context_tracer.ContextTracer
The interface for tracing a request context.
methodopencensus.trace.tracers.context_tracer.ContextTracer.current_span()
Return the current span.
methodopencensus.trace.tracers.context_tracer.ContextTracer.end_span(*args, **kwargs)
End a span.
methodopencensus.trace.tracers.context_tracer.ContextTracer.start_span(name='span')
Start a span.

About this data

These signatures were extracted from the public source of census-instrumentation/opencensus-python using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries