public static class DescribeNamespaceScopeSidecarConfigResponseBody.DescribeNamespaceScopeSidecarConfigResponseBodyConfigPatchesTracing
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Map<String,?> |
customTags
The custom tags added to reported spans.
|
Integer |
maxPathTagLength
The maximum tag length.
|
Double |
sampling
The sampling rate.
|
| 构造器和说明 |
|---|
DescribeNamespaceScopeSidecarConfigResponseBodyConfigPatchesTracing() |
@NameInMap(value="CustomTags") public Map<String,?> customTags
The custom tags added to reported spans. The key of a tag is of the string type. The value of a tag is in the JSON format. A custom tag can belong to one of the following types:
* `literal`: The tag value is a fixed value in the JSON format. This tag must contain the `value` field that specifies a literal. Example: `{"value":"test"}`.
* `header`: The tag value is a request header in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the request header. The defaultValue field indicates the default value that is used when no request header is available. Example: `{"name":"test","defaultValue":"test"}`.
* `environment`: The tag value is an environment variable in the JSON format. This tag must contain the `name` field and the `defaultValue` field. The name field indicates the name of the environment variable. The defaultValue field indicates the environment variable that is used when no environment variable is available. Example: `{"name":"test","defaultValue":"test"}`.
@NameInMap(value="MaxPathTagLength") public Integer maxPathTagLength
The maximum tag length.
@NameInMap(value="Sampling") public Double sampling
The sampling rate.
public DescribeNamespaceScopeSidecarConfigResponseBodyConfigPatchesTracing()
public static DescribeNamespaceScopeSidecarConfigResponseBody.DescribeNamespaceScopeSidecarConfigResponseBodyConfigPatchesTracing build(Map<String,?> map) throws Exception
Exceptionpublic DescribeNamespaceScopeSidecarConfigResponseBody.DescribeNamespaceScopeSidecarConfigResponseBodyConfigPatchesTracing setCustomTags(Map<String,?> customTags)
public DescribeNamespaceScopeSidecarConfigResponseBody.DescribeNamespaceScopeSidecarConfigResponseBodyConfigPatchesTracing setMaxPathTagLength(Integer maxPathTagLength)
public Integer getMaxPathTagLength()
public DescribeNamespaceScopeSidecarConfigResponseBody.DescribeNamespaceScopeSidecarConfigResponseBodyConfigPatchesTracing setSampling(Double sampling)
public Double getSampling()
Copyright © 2023. All rights reserved.