Struct tremor_otelapis::opentelemetry::proto::metrics::experimental::metric_config_server::MetricConfigServer[][src]

pub struct MetricConfigServer<T: MetricConfig> { /* fields omitted */ }

MetricConfig is a service that enables updating metric schedules, trace parameters, and other configurations on the SDK without having to restart the instrumented application. The collector can also serve as the configuration service, acting as a bridge between third-party configuration services and the SDK, piping updated configs from a third-party source to an instrumented application.

Implementations

impl<T: MetricConfig> MetricConfigServer<T>[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

Trait Implementations

impl<T: MetricConfig> Clone for MetricConfigServer<T>[src]

impl<T: Debug + MetricConfig> Debug for MetricConfigServer<T>[src]

impl<T, B> Service<Request<B>> for MetricConfigServer<T> where
    T: MetricConfig,
    B: HttpBody + Send + Sync + 'static,
    B::Error: Into<StdError> + Send + 'static, 
[src]

type Response = Response<BoxBody>

Responses given by the service.

type Error = Never

Errors produced by the service.

type Future = BoxFuture<Self::Response, Self::Error>

The future response value.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, ReqBody, ResBody> GrpcService<ReqBody> for T where
    T: Service<Request<ReqBody>, Response = Response<ResBody>>,
    ResBody: Body + Body,
    <T as Service<Request<ReqBody>>>::Error: Into<Box<dyn Error + 'static + Sync + Send, Global>>,
    <ResBody as Body>::Error: Into<Box<dyn Error + 'static + Sync + Send, Global>>, 
[src]

type ResponseBody = ResBody

Responses body given by the service.

type Error = <T as Service<Request<ReqBody>>>::Error

Errors produced by the service.

type Future = <T as Service<Request<ReqBody>>>::Future

The future response value.

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T, Request> ServiceExt<Request> for T where
    T: Service<Request> + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]