spring-boot - Integration open source with Sentry
问题描述
I need to integrate with sentry for monitoring open source exceptions, I am only allowed to use image of the open source, it is an spring boot application, I am trying to add sentry Logback jar file to the open source image but it is not working and I am not sure if this is the correct way
FROM opensource:latest
ADD jar-file/ /var/opensource/external-jar-files/
RUN java -cp /var/opensource/external-jar-files/sentry-logback.jar com.getsentry.raven
this Dockerfiles give me an error when I am running the container no main manifest attribute, in /var/opensource/external-jar-files/sentry-logback.jar
maybe this isn't the way, any advice?
解决方案
推荐阅读
- flutter - 如何在 Flutter 中创建对象
- regex - 异常内有异常的正则表达式
- python - 在 groupby 之后计算偏差 - ufunc 的循环不支持参数 0
- numpy - 如何在 2d FFT 后转换比例尺?
- oracle - Oracle / PLSQL:TRANSLATE 函数 - 为什么返回 NULL?
- php - 合并3个数组,查找重复并比较价格,并以价格升序取最便宜的一个以及唯一值
- vba - 更新现有记录并在表中添加新记录 - 仅更新一条记录(MS Access VBA)
- wpf - 我是否可以在 WPF MVVM 应用程序中使用 App Domains 来缩短启动时间,并且仅在需要时才加载程序集?
- android - 使用 espresso UI 测试模拟活动中的对象
- mysql - 如何在mysql中的某些列中组合具有相同ID但不同值的行