pub struct AgentIdentity {
pub name: String,
pub version: String,
pub cluster_name: Option<String>,
pub cluster_id: Option<String>,
}Expand description
What an Agent client reports.
The Agent does not act on any of these fields. It forwards them to the Datadog backend and lists them among its
active clients in datadog-agent remote-config.
Fields§
§name: StringThe name of the running application, such as agent-data-plane.
Sent as client_agent.name in every poll. Must not be empty.
Has no default.
version: StringThe version of the running application, such as 1.7.0.
Sent as client_agent.version in every poll. Must not be empty.
Has no default.
cluster_name: Option<String>The name of the Kubernetes cluster the application manages. Optional, and only for a cluster-level agent.
Sent as client_agent.cluster_name in every poll. The Cluster Agent reports it; an agent that runs on a single
host leaves it unset, which sends it empty.
Defaults to None.
cluster_id: Option<String>The ID of the Kubernetes cluster the application manages. Optional, and only for a cluster-level agent.
Sent as client_agent.cluster_id in every poll. The Cluster Agent reports it; an agent that runs on a single
host leaves it unset, which sends it empty.
Defaults to None.
Implementations§
Trait Implementations§
Source§impl Clone for AgentIdentity
impl Clone for AgentIdentity
Source§fn clone(&self) -> AgentIdentity
fn clone(&self) -> AgentIdentity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for AgentIdentity
impl RefUnwindSafe for AgentIdentity
impl Send for AgentIdentity
impl Sync for AgentIdentity
impl Unpin for AgentIdentity
impl UnwindSafe for AgentIdentity
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
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>
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Track for T
impl<T> Track for T
Source§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Tracked wrapper. Read moreSource§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Tracked wrapper. Read more