我需要将"jmx_prometheus_javaagent“jar添加到JIB构建中,但是在部署应用程序时会出现以下错误:
Error opening zip file or JAR manifest missing : /srv/jmx_prometheus_javaagent-0.16.1.jar
Error occurred during initialization of VM
agent library failed to init: instrument
我在所需目录中添加了jar和一个配置文件,这是我在build.gradle.kts中所做的相关更改。
val jibEx
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
我正在尝试向Prometheus中的目标添加一个标签,以修改SpringBoot中的文件。
我尝试在Springboot中添加一个Prometheus标签,方法如下(在SpringBoot中修改SpringBoot中的Prometheus),但没有成功。
management:
metrics:
tags:
application: ${spring.application.name}
threadLimitInPrometheus: 40 # This tag didn't work
您能告诉我在SpringBoot中添加Prometheus标签的
我正在使用MeterReigstry来推动普罗米修斯轮询的指标。然而,当我添加动态标签时,我得到了以下异常: java.lang.IllegalArgumentException: Prometheus requires that all meters with the same name have the same set of tag keys. There is already an existing meter named 'execution_time_seconds' containing tag keys [a, e, b, c, d]. The meter y
我刚刚将k8s迁移到1.22,使用这个版本的spark操作符:1.2.3没有工作。我在互联网上跟踪了这些信息,升级到1.3.3,但是我所有的星火应用程序都失败了,同样的错误是:Caused by: java.io.FileNotFoundException: /etc/metrics/conf/prometheus.yaml (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInpu
我已经尝试在其他文件中复制MetricsConfiguration、LoggingConfiguration和JhipsterProperties及其依赖项。
我完全不知所措,任何想法或见解都将不胜感激。
jhipster:
security:
rememberMe:
# security key (this key should be unique for your application, and kept secret)
key: #placeholder
mail: # specific JHipster