当前位置:网站首页>proemthues 服务发现配置
proemthues 服务发现配置
2022-07-30 22:55:00 【40kuai】
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
name: jvm-export
release: ack-prometheus-operator
name: jvm-export
namespace: 40kuai
spec:
endpoints:
- relabelings:
- action: replace
regex: '([^:]+)(?::\d+)?;(\d+)'
replacement: '$1:8088'
separator: ;
sourceLabels:
- __address__
- __meta_kubernetes_pod_annotation_prometheus_io_port
targetLabel: __address__
- action: replace
regex: (.*)
replacement: $1
separator: ;
sourceLabels:
- __meta_kubernetes_service_name
targetLabel: app
namespaceSelector:
matchNames:
- 40kuai
selector:
name: jvm-export
边栏推荐
猜你喜欢
随机推荐
[MySQL] DQL related operations
d使用among的问题
Go1.18升级功能 - 模糊测试Fuzz 从零开始Go语言
# # yyds dry goods inventory interview will brush TOP101: to determine whether there is a part of the list
语言代码表
"NIO Cup" 2022 Nioke Summer Multi-School Training Camp 4 DHKLN
IDEA使用技巧
Jetson AGX Orin 平台关于c240000 I2C总线和GMSL ses地址冲突问题
[MySQL] Mysql transaction and authority management
MySQL连接时出现2003错误
代码越写越乱?那是因为你没用责任链
Apache Doris series: In-depth understanding of real-time analytical database Apache Doris
科技的成就(三十一)
go版本升级
A detailed explanation: SRv6 Policy model, calculation and drainage
反转链表-就地逆置法
Excel basic study notes
微软商店出现【0x800706D9】解决方法
MySql统计函数COUNT详解
openim支持十万超级大群