You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue running scheduler metricset.
It looks like a compatibility issue since it seems that currently (k8s 1.17+) kubernetes.scheduler.scheduling.pod.preemption.victims.count is of histogram type and long type cannot support it now:
Cannot index event publisher.Event{Content:beat.Event{Timestamp:time.Time{wall:0xbfb49b5c794b7c54, ext:8401500146256, loc:(*time.Location)(0x83169e0)}, Meta:{"raw_index":"metrics-kubernetes.scheduler-default"}, Fields:{"agent":{"ephemeral_id":"7f14779f-a0b5-4aaf-8352-c92bf29b6437","id":"7298c14e-c5f2-4b70-9390-a2aa72feb6f5","name":"minikube","type":"metricbeat","version":"8.0.0"},"dataset":{"name":"kubernetes.scheduler","namespace":"default","type":"metrics"},"ecs":{"version":"1.5.0"},"event":{"dataset":"kubernetes.scheduler","duration":8128796,"module":"kubernetes"},"host":{"architecture":"x86_64","containerized":false,"hostname":"minikube","id":"b0e83d397c054b8a99a431072fe4617b","ip":["192.168.64.10","fe80::a883:2fff:fe7f:6b12","172.17.0.1","fe80::42:f7ff:fe60:17b7","fe80::a8b2:73ff:feba:e5c7","fe80::2062:76ff:fe6c:7d1b","fe80::ccb7:c1ff:fefb:4227","fe80::4c2b:7bff:fe11:d6b5","fe80::80e:27ff:fea1:342c","fe80::acd6:44ff:fe41:2df5","fe80::5809:a5ff:fea0:743d","fe80::a492:73ff:fe59:b63d","fe80::dc8a:f1ff:fedb:ed9c","fe80::f40b:49ff:febc:a2db"],"mac":["aa:83:2f:7f:6b:12","02:42:f7:60:17:b7","aa:b2:73:ba:e5:c7","22:62:76:6c:7d:1b","ce:b7:c1:fb:42:27","4e:2b:7b:11:d6:b5","0a:0e:27:a1:34:2c","ae:d6:44:41:2d:f5","5a:09:a5:a0:74:3d","a6:92:73:59:b6:3d","de:8a:f1:db:ed:9c","f6:0b:49:bc:a2:db"],"name":"minikube","os":{"codename":"Core","family":"redhat","kernel":"4.19.81","name":"CentOS Linux","platform":"centos","version":"7 (Core)"}},"kubernetes":{"scheduler":{"process":{"cpu":{"sec":63},"fds":{"open":{"count":11.000000}},"memory":{"resident":{"bytes":53444608.000000},"virtual":{"bytes":148291584.000000}},"started":{"sec":1592899682.080000}},"scheduling":{"e2e":{"duration":{"us":{"bucket":{"+Inf":10,"1000":0,"1024000":10,"128000":10,"16000":8,"16384000":10,"2000":0,"2048000":10,"256000":10,"32000":10,"4000":0,"4096000":10,"512000":10,"64000":10,"8000":4,"8192000":10},"count":10,"sum":104991.730000}}},"pod":{"preemption":{"victims":{"count":{"bucket":{"+Inf":0,"10":0,"15":0,"20":0,"25":0,"30":0,"35":0,"40":0,"45":0,"5":0,"50":0},"count":0,"sum":0.000000}}}}}}},"metricset":{"name":"scheduler","period":10000},"service":{"address":"localhost:10251","type":"kubernetes"},"stream":{"dataset":"kubernetes.scheduler","namespace":"default","type":"metrics"}}, Private:interface {}(nil), TimeSeries:true}, Flags:0x0, Cache:publisher.EventCache{m:common.MapStr(nil)}} (status=400): {"type":"mapper_parsing_exception","reason":"failed to parse field [kubernetes.scheduler.scheduling.pod.preemption.victims.count] of type [long] in document with id '5JIo4XIBFP5EhFkLvcgg'. Preview of field's value: '{bucket={45=0, +Inf=0, 35=0, 25=0, 15=0, 5=0, 50=0, 40=0, 30=0, 20=0, 10=0}, count=0, sum=0}'","caused_by":{"type":"json_parse_exception","reason":"Current token (START_OBJECT) not numeric, can not use numeric value accessors\n at [Source: (org.elasticsearch.common.bytes.AbstractBytesReference$MarkSupportingStreamInputWrapper); line: 1, column: 925]"}}
Issue running
scheduler
metricset.It looks like a compatibility issue since it seems that currently (k8s 1.17+)
kubernetes.scheduler.scheduling.pod.preemption.victims.count
is of histogram type andlong
type cannot support it now:Sample dump from Scheduler api:
schedulerdamp.txt
The text was updated successfully, but these errors were encountered: