Clean up removed configurations. (#4884)

This commit is contained in:
吴晟 Wu Sheng 2020-06-09 12:03:59 +08:00 committed by GitHub
parent 7c791703ff
commit eb1cc71b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 24 deletions

View File

@ -13,10 +13,7 @@ In **receiver-trace** receiver, you will find `sampleRate` setting.
```yaml
receiver-trace:
default:
bufferPath: ../trace-buffer/ # Path to trace buffer files, suggest to use absolute path
bufferOffsetMaxFileSize: 100 # Unit is MB
bufferDataMaxFileSize: 500 # Unit is MB
bufferFileCleanWhenRestart: false
...
sampleRate: ${SW_TRACE_SAMPLE_RATE:1000} # The sample rate precision is 1/10000. 10000 means 100% sample in default.
```

View File

@ -67,10 +67,6 @@ receiver-register:
receiver-trace:
default:
bufferPath: ${RECEIVER_BUFFER_PATH:../trace-buffer/} # Path to trace buffer files, suggest to use absolute path
bufferOffsetMaxFileSize: ${RECEIVER_BUFFER_OFFSET_MAX_FILE_SIZE:100} # Unit is MB
bufferDataMaxFileSize: ${RECEIVER_BUFFER_DATA_MAX_FILE_SIZE:500} # Unit is MB
bufferFileCleanWhenRestart: ${RECEIVER_BUFFER_FILE_CLEAN_WHEN_RESTART:false}
receiver-jvm:
default:
@ -80,10 +76,6 @@ receiver-profile:
service-mesh:
default:
bufferPath: ${SERVICE_MESH_BUFFER_PATH:../mesh-buffer/} # Path to trace buffer files, suggest to use absolute path
bufferOffsetMaxFileSize: ${SERVICE_MESH_OFFSET_MAX_FILE_SIZE:100} # Unit is MB
bufferDataMaxFileSize: ${SERVICE_MESH_BUFFER_DATA_MAX_FILE_SIZE:500} # Unit is MB
bufferFileCleanWhenRestart: ${SERVICE_MESH_BUFFER_FILE_CLEAN_WHEN_RESTART:false}
istio-telemetry:
default:

View File

@ -25,18 +25,6 @@ import lombok.Setter;
import org.apache.skywalking.oap.server.library.module.ModuleConfig;
public class TraceServiceModuleConfig extends ModuleConfig {
@Setter
@Getter
private String bufferPath;
@Setter
@Getter
private int bufferOffsetMaxFileSize;
@Setter
@Getter
private int bufferDataMaxFileSize;
@Setter
@Getter
private boolean bufferFileCleanWhenRestart;
/**
* The sample rate precision is 1/10000. 10000 means 100% sample in default.
*/