dubbo: metrics: enable: true # default is true path: /metrics # default is /metrics port: 9091 # default is 9090 namespace: dubboArtist # default is dubbo 作为数据上报 metrics 的前 registries: demoZK: protocol: zookeeper timeout: 120s address: 127.0.0.1:2181 # address: 121.229.45.214:9004 # address: 114.218.158.24:2181 # address: zookeeper:2181 protocols: triple: #triple name: tri # ip: 121.229.45.214 port: 20050 provider: services: ArtistInfoUserProvider: interface: com.fontree.microservices.common.ArtistInfoUser retries: 100 ArtistInfoArtworkProvider: interface: com.fontree.microservices.common.ArtistInfoArtwork retries: 100 ArtistInfoArtshowProvider: interface: com.fontree.microservices.common.ArtistInfoArtshow retries: 100 ArtistInfoContractProvider: interface: com.fontree.microservices.common.ArtistInfoContract retries: 100 ArtistInfoStatementProvider: interface: com.fontree.microservices.common.ArtistInfoStatement retries: 100 MgmtStatementProvider: interface: com.fontree.microservices.common.MgmtStatement retries: 100 #ContractProvider: # interface: com.fontree.microservices.common.Contract # retries: 0 #ArtWorkProvider: # interface: com.fontree.microservices.common.ArtWork # retries: 0 #SupplyProvider: # interface: com.fontree.microservices.common.Supply # retries: 0 consumer: request-timeout: 120s references: AccountClientImpl: protocol: tri interface: com.fontree.microservices.common.Account filter: cshutdown,sign,fonDomainFilter,fonValidateFilter params: .accessKeyId: "Accountksl" .secretAccessKey: "BSDY-FDF1-Fontree_account" ArtistClientImpl: protocol: tri interface: com.fontree.microservices.common.Artist ArtistInfoClientImpl: protocol: tri interface: com.fontree.microservices.common.ArtistInfo ContractClientImpl: timeout: 15s protocol: tri interface: com.fontree.microservices.common.contract filter: cshutdown,sign params: .accessKeyId: "SYD8-Chain-04" .secretAccessKey: "Al-Chain-FDF112" ArtworkClientImpl: protocol: tri interface: com.fontree.microservices.common.Artwork ArtworkQueryClientImpl: protocol: tri interface: com.fontree.microservices.common.ArtworkQuery SupplyClientImpl: protocol: tri interface: com.fontree.microservices.common.Supply logger: zap-config: level: info # 日志级别 development: false disableCaller: false disableStacktrace: false encoding: "json" # zap encoder 配置 encoderConfig: messageKey: "message" levelKey: "level" timeKey: "time" nameKey: "logger" callerKey: "caller" stacktraceKey: "stacktrace" lineEnding: "" levelEncoder: "capitalColor" timeEncoder: "iso8601" durationEncoder: "seconds" callerEncoder: "short" nameEncoder: "" EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), EncodeDuration: zapcore.SecondsDurationEncoder, outputPaths: - "stderr" errorOutputPaths: - "stderr" lumberjack-config: # 写日志的文件名称 filename: "logs/artist_server.log" # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB maxSize: 10 # 日志保留的最大天数(只保留最近多少天的日志) maxAge: 15 # 只保留最近多少个日志文件,用于控制程序总日志的大小 maxBackups: 10 # 是否使用本地时间,默认使用 UTC 时间 localTime: true # 是否压缩日志文件,压缩方法 gzip compress: false