pub struct PostParams {Show 16 fields
pub api_path_prefix: Option<String>,
pub bucket: Option<String>,
pub disable: Option<bool>,
pub influxdbproto: Option<Influxdbproto>,
pub max_body_size: Option<u64>,
pub mtu: Option<u64>,
pub organization: Option<String>,
pub path: Option<String>,
pub port: u64,
pub proto: Option<Proto>,
pub server: String,
pub timeout: Option<u64>,
pub token: Option<String>,
pub ty: Type,
pub verify_certificate: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}Fields§
§api_path_prefix: Option<String>An API path prefix inserted between ‘<host>:<port>/’ and ‘/api2/’. Can be useful if the InfluxDB service runs behind a reverse proxy.
bucket: Option<String>The InfluxDB bucket/db. Only necessary when using the http v2 api.
disable: Option<bool>Flag to disable the plugin.
influxdbproto: Option<Influxdbproto>§max_body_size: Option<u64>InfluxDB max-body-size in bytes. Requests are batched up to this size.
mtu: Option<u64>MTU for metrics transmission over UDP
organization: Option<String>The InfluxDB organization. Only necessary when using the http v2 api. Has no meaning when using v2 compatibility api.
path: Option<String>root graphite path (ex: proxmox.mycluster.mykey)
port: u64server network port
proto: Option<Proto>Protocol to send graphite data. TCP or UDP (default)
server: Stringserver dns name or IP address
timeout: Option<u64>graphite TCP socket timeout (default=1)
token: Option<String>The InfluxDB access token. Only necessary when using the http v2 api. If the v2 compatibility api is used, use ‘user:password’ instead.
ty: TypePlugin type.
verify_certificate: Option<bool>Set to 0 to disable certificate verification for https endpoints.
additional_properties: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for PostParams
impl Clone for PostParams
Source§fn clone(&self) -> PostParams
fn clone(&self) -> PostParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more