Failed to scrape Prometheus endpoint "scrape_timestamp": 1692630513175 #8251
Unanswered
Herman19890
asked this question in
Q&A
Replies: 1 comment
-
It seems like the Prometheus endpoint scraping is failing due to an issue with the timestamp. The timestamp value "1692630513175" seems to be incorrect or invalid, leading to the failure. You might want to verify the timestamp format or ensure that the timestamp being generated is within an acceptable range. Additionally, check if there are any misconfigurations related to the timestamp handling in your setup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
-Hi.
when i run
otelcol-contrib --config=file:/skywalking/otel-collector-config.yaml
;it become some warn information as blow:
the yaml contents is :
[root@centos7u9 ~]# cat /skywalking/otel-collector-config.yaml
receivers:
prometheus:
config:
scrape_configs:
- job_name: 'skywalking-so11y'
scrape_interval: 5s
static_configs:
- targets: ['oap:1534']
labels:
#host_name: http://192.168.200.118:1534
host_name: centos7u9
service: oap-server
processors:
batch:
exporters:
otlp:
endpoint: 192.168.200.118:11800
tls:
insecure: true
logging:
verbosity: detailed
sampling_initial: 5
sampling_thereafter: 200
service:
pipelines:
metrics:
receivers:
- prometheus
processors:
- batch
exporters:
- otlp
- logging
[root@centos7u9 ~]#
the information for my hosts is
[root@centos7u9 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:be:a7:6e brd ff:ff:ff:ff:ff:ff
inet 192.168.200.118/24 brd 192.168.200.255 scope global noprefixroute ens192
valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:f0:cf:cf brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:f0:cf:cf brd ff:ff:ff:ff:ff:ff
[root@centos7u9 ~]# netstat -tupln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 1777/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1095/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1090/cupsd
tcp 0 0 0.0.0.0:11800 0.0.0.0:* LISTEN 74932/java
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1348/master
tcp 0 0 192.168.200.118:1534 0.0.0.0:* LISTEN 74932/java
tcp 0 0 0.0.0.0:12800 0.0.0.0:* LISTEN 74932/java
tcp 0 0 0.0.0.0:12801 0.0.0.0:* LISTEN 74932/java
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 74932/java
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 799/rpcbind
tcp 0 0 0.0.0.0:9010 0.0.0.0:* LISTEN 75079/java
tcp6 0 0 :::22 :::* LISTEN 1095/sshd
tcp6 0 0 :::33060 :::* LISTEN 74665/mysqld
tcp6 0 0 :::3306 :::* LISTEN 74665/mysqld
tcp6 0 0 :::111 :::* LISTEN 799/rpcbind
udp 0 0 192.168.122.1:53 0.0.0.0:* 1777/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 1777/dnsmasq
udp 0 0 0.0.0.0:111 0.0.0.0:* 799/rpcbind
udp 0 0 0.0.0.0:965 0.0.0.0:* 799/rpcbind
udp 0 0 0.0.0.0:5353 0.0.0.0:* 790/avahi-daemon: r
udp 0 0 0.0.0.0:36614 0.0.0.0:* 790/avahi-daemon: r
udp6 0 0 :::111 :::* 799/rpcbind
udp6 0 0 :::965 :::* 799/rpcbind
[root@centos7u9 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.200.118 centos7u9
[root@centos7u9 ~]#
Beta Was this translation helpful? Give feedback.
All reactions