pub struct ConnectionBootstrapperServiceClient<T>(/* private fields */);
Expand description
Nominal periodically scrapes connected databases (Connections) in order to maintain a database of all series that can be read from that database. This service is responsible for executing the scrape, and can be used manually to trigger a rescrape for any reason (for example, when updating a schema).
Implementations§
Source§impl<T> ConnectionBootstrapperServiceClient<T>where
T: Client,
impl<T> ConnectionBootstrapperServiceClient<T>where
T: Client,
Sourcepub fn populate_series(
&self,
auth_: &BearerToken,
rid: &ConnectionRid,
request: &PopulateSeriesRequest,
) -> Result<(), Error>
pub fn populate_series( &self, auth_: &BearerToken, rid: &ConnectionRid, request: &PopulateSeriesRequest, ) -> Result<(), Error>
Populates the connection with series, by querying within the requested time range. If start or end are both omitted, will query the last 7 days by default. If one of start or end is omitted, will query a 7 day range from the provided start or end. Will throw if the requested range is larger than 30 days.
Trait Implementations§
Source§impl<T: Clone> Clone for ConnectionBootstrapperServiceClient<T>
impl<T: Clone> Clone for ConnectionBootstrapperServiceClient<T>
Source§fn clone(&self) -> ConnectionBootstrapperServiceClient<T>
fn clone(&self) -> ConnectionBootstrapperServiceClient<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for ConnectionBootstrapperServiceClient<T>
impl<T: Debug> Debug for ConnectionBootstrapperServiceClient<T>
Auto Trait Implementations§
impl<T> Freeze for ConnectionBootstrapperServiceClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConnectionBootstrapperServiceClient<T>where
T: RefUnwindSafe,
impl<T> Send for ConnectionBootstrapperServiceClient<T>where
T: Send,
impl<T> Sync for ConnectionBootstrapperServiceClient<T>where
T: Sync,
impl<T> Unpin for ConnectionBootstrapperServiceClient<T>where
T: Unpin,
impl<T> UnwindSafe for ConnectionBootstrapperServiceClient<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request