We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述
请清晰和简洁的描述你遇见的 问题
运行环境
JVM启动参数
java -Dfile.encoding=UTF-8 -javaagent:MyPerf4J-ASM-3.2.0.jar -DMyPerf4JPropFile=MyPerf4J.properties -jar xxxxx.jar
配置文件
# MyPerf4J 所有配置请参考:https://github.com/LinShunKang/MyPerf4J/wiki/%E9%85%8D%E7%BD%AE # 配置监控应用的名称 app_name = MyApp ############################################################################### # Metrics Configuration # ############################################################################### # 配置 MetricsExporter 类型 # log.stdout: 以标准格式化结构输出到 stdout.log # log.standard: 以标准格式化结构输出到磁盘 # log.influxdb: 以 InfluxDB LineProtocol 格式输出到磁盘 # http.influxdb: 以 InfluxDB LineProtocol 格式发送至 InfluxDB server,需要另行增加 influxdb 的配置 metrics.exporter = http.influxdb # 配置各项监控指标日志的文件路径 # 如果 metrics.exporter 配置为 log.influxdb,建议把所有的 metrics.log.* 路径配置成一样以方便 Telegraf 收集 metrics.log.method = /data/logs/MyPerf4J/metrics.log metrics.log.class_loading = /data/logs/MyPerf4J/metrics.log metrics.log.gc = /data/logs/MyPerf4J/metrics.log metrics.log.memory = /data/logs/MyPerf4J/metrics.log metrics.log.buff_pool = /data/logs/MyPerf4J/metrics.log metrics.log.thread = /data/logs/MyPerf4J/metrics.log metrics.log.file_desc = /data/logs/MyPerf4J/metrics.log metrics.log.compilation = /data/logs/MyPerf4J/metrics.log ############################################################################### # Filter Configuration # ############################################################################### # 配置需要监控的package,可配置多个,用英文';'分隔 # com.demo.p1 代表包含以 com.demo.p1 为前缀的所有包和类 # [] 表示集合的概念:例如,com.demo.[p1,p2,p3] 代表包含以 com.demo.p1、com.demo.p2 和 com.demo.p3 为前缀的所有包和类,等价于 com.demo.p1;com.demo.p2;com.demo.p3 # * 表示通配符:可以指代零个或多个字符,例如,com.*.demo.* filter.packages.include = cn.perf4j.demo;com.*; # 配置不需要监控的package,可配置多个,用英文';'分隔 filter.packages.exclude = cn.perf4j.demo.dao.DemoDAOImpl influxdb.version = 2.0 influxdb.orgName = orgxxxxx influxdb.host=10.31.35.77 influxdb.port=8086 influxdb.database=influxdb influxdb.username=admin influxdb.password=1q2w3e4r influxdb.conn_timeout=3000 influxdb.read_timeout=5000
异常堆栈
2023-02-15 14:33:14.306 [MyPerf4J] INFO [main] InfluxDbClient create database 'InfluxDB' response.status=HttpRespStatus{code=401, phrase='Unauthorized'}
The text was updated successfully, but these errors were encountered:
你好,MyPerf4J 3.2.0 不支持 InfluxDB 2.x,请使用 MyPerf4J 3.3.0-SNAPSHOT
Sorry, something went wrong.
MyPerf4J 有关于 InfluxDB 2.x的参考配置么
你好,请参考:
No branches or pull requests
问题描述
请清晰和简洁的描述你遇见的 问题
运行环境
JVM启动参数
配置文件
异常堆栈
The text was updated successfully, but these errors were encountered: