opencensus-python の API リファレンス
opencensus-python (census-instrumentation/opencensus-python) の公開 API 100 件 —— クラス 67、関数 1、メソッド 32。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: census-instrumentation/opencensus-python
| 種別 | 件数 |
|---|---|
| クラス | 67 |
| 関数 | 1 |
| メソッド | 32 |
API 一覧
class
contrib.opencensus-ext-django.opencensus.ext.django.middleware.OpencensusMiddlewareSaves the request in thread local
class
contrib.opencensus-ext-grpc.opencensus.ext.grpc.utils.WrappedResponseIteratorWraps the rpc response iterator.
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.AgentClientUDPImplement a UDP client to agent.
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.JaegerExporterExports the spans to Jaeger.
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.agent.emitBatch_argsAttributes: - batch
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.BatchAttributes: - process - spans
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.BatchSubmitResponseAttributes: - ok
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.LogAttributes: - timestamp - fields
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.ProcessAttributes: - serviceName - tags
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.submitBatches_argsAttributes: - batches
class
contrib.opencensus-ext-jaeger.opencensus.ext.jaeger.trace_exporter.gen.jaeger.jaeger.submitBatches_resultAttributes: - success
class
contrib.opencensus-ext-stackdriver.opencensus.ext.stackdriver.stats_exporter.OptionsExporter configuration options.
class
contrib.opencensus-ext-zipkin.opencensus.ext.zipkin.trace_exporter.ZipkinExporterExport the spans to Zipkin.
method
opencensus.common.resource.Resource.get_labels()Get this resource's labels.
method
opencensus.common.resource.Resource.get_type()Get this resource's type.
class
opencensus.common.schedule.PeriodicTaskThread that periodically calls a given function.
class
opencensus.common.transports.base.TransportBase class for transport.
method
opencensus.common.transports.base.Transport.export(datas)Export the data.
method
opencensus.common.transports.base.Transport.flush()Submit any pending data.
class
opencensus.log.TraceLoggingAdapterAdapter to add opencensus context attrs to records.
class
opencensus.metrics.export.cumulative.CumulativePointDoubleA `GaugePointDouble` that cannot decrease.
class
opencensus.metrics.export.cumulative.CumulativePointLongA `GaugePointLong` that cannot decrease.
class
opencensus.metrics.export.cumulative.DoubleCumulativeRecords cumulative float-valued measurements.
class
opencensus.metrics.export.cumulative.LongCumulativeRecords cumulative int-valued measurements.
class
opencensus.metrics.export.cumulative.LongCumulativeMixinType mixin for long-valued cumulative measures.
class
opencensus.metrics.export.gauge.BaseGaugeBase class for sets instantaneous measurements.
class
opencensus.metrics.export.gauge.DerivedDoubleGaugeGauge for derived float-valued measurements.
class
opencensus.metrics.export.gauge.DerivedGaugeGauge that tracks values of other functions.
class
opencensus.metrics.export.gauge.DerivedLongGaugeGauge for derived int-valued measurements.
class
opencensus.metrics.export.gauge.DoubleGaugeGauge for recording float-valued measurements.
class
opencensus.metrics.export.gauge.DoubleGaugeMixinType mixin for float-valued gauges.
class
opencensus.metrics.export.gauge.GaugePointDoubleAn instantaneous measurement from a DoubleGauge.
method
opencensus.metrics.export.gauge.GaugePointDouble.get_value()Get the current value.
class
opencensus.metrics.export.gauge.GaugePointLongAn instantaneous measurement from a LongGauge.
method
opencensus.metrics.export.gauge.GaugePointLong.get_value()Get the current value.
class
opencensus.metrics.export.gauge.LongGaugeGauge for recording int-valued measurements.
class
opencensus.metrics.export.gauge.LongGaugeMixinType mixin for long-valued gauges.
class
opencensus.metrics.export.gauge.RegistryA collection of gauges to be exported together.
class
opencensus.metrics.export.metric.MetricA collection of time series data and label metadata.
class
opencensus.metrics.export.metric_descriptor.MetricDescriptorDefines a metric type and its schema.
class
opencensus.metrics.export.metric_descriptor.MetricDescriptorTypeThe kind of metric.
class
opencensus.metrics.export.metric_producer.MetricProducerProduces a set of metrics for export.
class
opencensus.metrics.export.point.PointA timestamped measurement of a TimeSeries.
class
opencensus.metrics.export.value.BucketA bucket of a histogram.
class
opencensus.metrics.export.value.ExplicitSet of explicit bucket boundaries.
class
opencensus.metrics.export.value.ValueDistributionSummary statistics for a population of values.
class
opencensus.metrics.export.value.ValueDoubleA 64-bit double-precision floating-point number.
class
opencensus.metrics.export.value.ValueLongA 64-bit integer.
method
opencensus.metrics.label_key.LabelKey.key()the key for the label
class
opencensus.metrics.label_value.LabelValueThe label values associated with the TimeSeries.
method
opencensus.metrics.label_value.LabelValue.value()the value for the label
class
opencensus.metrics.transport.PeriodicMetricTaskThread that periodically calls a given function.
class
opencensus.stats.base_exporter.StatsExporterBase class for opencensus stats exporters.
class
opencensus.stats.measure.MeasureFloatCreates a Float Measure
class
opencensus.stats.measure.MeasureIntCreates an Integer Measure
class
opencensus.stats.measurement.MeasurementFloatCreates a new Float Measurement
class
opencensus.stats.measurement.MeasurementIntCreates a new Integer Measurement
method
opencensus.stats.view.View.columns()the columns of the current view
method
opencensus.stats.view.View.measure()the measure of the current view
method
opencensus.stats.view.View.name()the name of the current view
class
opencensus.tags.tag.TagA tag, in the format [KEY]:[VALUE].
class
opencensus.tags.tag_key.TagKeyA tag key with a property name
class
opencensus.tags.tag_value.TagValueThe value of a tag
method
opencensus.trace.attributes.Attributes.get_attribute(key)Get a attribute value.
method
opencensus.trace.attributes.Attributes.set_attribute(key, value)Set a key value pair.
class
opencensus.trace.base_exporter.ExporterBase class for opencensus trace request exporters.
method
opencensus.trace.base_exporter.Exporter.export(span_datas)Export the trace.
class
opencensus.trace.base_span.BaseSpanBase class for Opencensus spans.
method
opencensus.trace.base_span.BaseSpan.add_link(link)Add a Link.
method
opencensus.trace.base_span.BaseSpan.finish()Set the end time for a span.
method
opencensus.trace.base_span.BaseSpan.set_status(status)Sets span status.
class
opencensus.trace.print_exporter.PrintExporterExport the spans by printing them.
class
opencensus.trace.propagation.b3_format.B3FormatPropagatorPropagator for the B3 HTTP header format.
class
opencensus.trace.samplers.ProbabilitySamplerSample a request at a fixed rate.
class
opencensus.trace.samplers.SamplerBase class for opencensus trace request samplers.
class
opencensus.trace.span.BoundedDictA dict with a fixed max capacity.
class
opencensus.trace.span.BoundedListAn append only list with a fixed max size.
method
opencensus.trace.span.Span.add_attribute(attribute_key, attribute_value)Add attribute to span.
method
opencensus.trace.span.Span.add_link(link)Add a Link.
method
opencensus.trace.span.Span.finish()Set the end time for a span.
method
opencensus.trace.span.Span.set_status(status)Sets span status.
method
opencensus.trace.span.Span.start()Set the start time for a span.
class
opencensus.trace.stack_trace.StackFrameRepresents a single stack frame in a stack trace.
class
opencensus.trace.stack_trace.StackTraceA call stack appearing in a trace.
func
opencensus.trace.stack_trace.generate_hash_id()Generate a hash id.
class
opencensus.trace.time_event.AnnotationText annotation with a set of attributes.
class
opencensus.trace.time_event.TypeIndicates whether the message was sent or received.
class
opencensus.trace.trace_options.TraceOptionsA class that represents global trace options.
method
opencensus.trace.tracer.Tracer.current_span()Return the current span.
method
opencensus.trace.tracer.Tracer.end_span()End a span.
method
opencensus.trace.tracer.Tracer.finish()End all spans.
class
opencensus.trace.tracers.base.TracerBase class for Opencensus tracers.
method
opencensus.trace.tracers.base.Tracer.current_span()Return the current span.
method
opencensus.trace.tracers.base.Tracer.end_span()End a span.
method
opencensus.trace.tracers.base.Tracer.list_collected_spans()List collected spans.
method
opencensus.trace.tracers.base.Tracer.start_span(name='span')Start a span.
class
opencensus.trace.tracers.context_tracer.ContextTracerThe interface for tracing a request context.
method
opencensus.trace.tracers.context_tracer.ContextTracer.current_span()Return the current span.
method
opencensus.trace.tracers.context_tracer.ContextTracer.end_span(*args, **kwargs)End a span.
method
opencensus.trace.tracers.context_tracer.ContextTracer.start_span(name='span')Start a span.
この情報について
掲載しているシグネチャは census-instrumentation/opencensus-python の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。