コード例 #1
0
 ///<summary>/_nodes/{node_id}/stats/{metric}/{index_metric}</summary>
 ///<param name = "nodeId">Optional, accepts null</param>
 ///<param name = "metric">Optional, accepts null</param>
 ///<param name = "indexMetric">Optional, accepts null</param>
 public NodesStatsDescriptor(NodeIds nodeId, Metrics metric, IndexMetrics indexMetric) : base(r => r.Optional("node_id", nodeId).Optional("metric", metric).Optional("index_metric", indexMetric))
 {
 }
コード例 #2
0
 ///<summary>Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified.</summary>
 public NodesStatsDescriptor IndexMetric(IndexMetrics indexMetric) => Assign(indexMetric, (a, v) => a.RouteValues.Optional("index_metric", v));
コード例 #3
0
 ///<summary>/_nodes/stats/{metric}/{index_metric}</summary>
 ///<param name = "metric">Optional, accepts null</param>
 ///<param name = "indexMetric">Optional, accepts null</param>
 public NodesStatsDescriptor(Metrics metric, IndexMetrics indexMetric) : base(r => r.Optional("metric", metric).Optional("index_metric", indexMetric))
 {
 }