|
| 1 | +# Copyright 2024 openGemini Authors |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +# This is the configuration file for the ts-trace server. |
| 16 | +# |
| 17 | +# server host |
| 18 | +host: 0.0.0.0 |
| 19 | +# server port |
| 20 | +port: 18086 |
| 21 | +# server log configuration |
| 22 | +log: |
| 23 | + # log type, support text|json |
| 24 | + type: text |
| 25 | + # log level, support debug,info,warn,error |
| 26 | + level: info |
| 27 | + # log output filename |
| 28 | + output: trace.log |
| 29 | +# opengemini server configuration |
| 30 | +opengemini: |
| 31 | + # opengemini http server address |
| 32 | + address: |
| 33 | + - host: 0.0.0.0 |
| 34 | + port: 8086 |
| 35 | + # opengemini server auth config |
| 36 | + auth: |
| 37 | + username: admin |
| 38 | + password: admin |
| 39 | + # where database to store trace data |
| 40 | + database: jaeger_storage |
| 41 | + # retention strategy for trace data |
| 42 | + retention_policy: trace |
| 43 | + # time setting for retention policy |
| 44 | + retention_duration: 3d |
| 45 | + # opengemini grpc server address |
| 46 | + grpc_write: |
| 47 | + address: |
| 48 | + - host: 0.0.0.0 |
| 49 | + port: 8305 |
0 commit comments