*Hi,*
*I am running promethus successfully in my local windows system.*
*This is the prometheus configuration file*
*global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
external_labels:
cluster: eu1
replica: "0"
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- 127.0.0.1:9090
- job_name: sidecar
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- 127.0.0.1:19090*
*I am also able to successfully sidecar component as well.*
*C:\Users\SaurabhJain\Desktop\Bharti\thanos-0.12.2.windows-amd64.tar\thanos-0.12.2.windows-amd64>thanos
sidecar --http-address 127.0.0.1:19090 --prometheus.url
http://localhost:9090level=info ts=2020-05-08T12:23:19.6467716Z
caller=main.go:152 msg="Tracing will be disabled"level=info
ts=2020-05-08T12:23:19.6467716Z caller=sidecar.go:158 msg="no supported bucket
was configured, uploads will be disabled"level=info
ts=2020-05-08T12:23:19.6487396Z caller=options.go:23 protocol=gRPC
msg="disabled TLS, key and cert must be set to enable"level=info
ts=2020-05-08T12:23:19.6557387Z caller=sidecar.go:356 msg="starting
sidecar"level=info ts=2020-05-08T12:23:19.6567368Z caller=intrumentation.go:60
msg="changing probe status" status=healthylevel=info
ts=2020-05-08T12:23:19.6567368Z caller=reloader.go:157 component=reloader
msg="started watching config file and non-recursively rule dirs for changes"
cfg= out= dirs=level=info ts=2020-05-08T12:23:19.6587394Z caller=http.go:56
service=http/server component=sidecar msg="listening for requests and metrics"
address=127.0.0.1:19090level=info ts=2020-05-08T12:23:19.6597368Z
caller=intrumentation.go:48 msg="changing probe status" status=readylevel=info
ts=2020-05-08T12:23:19.665736Z caller=grpc.go:106 service=gRPC/server
component=sidecar msg="listening for StoreAPI gRPC"
address=0.0.0.0:10901level=info ts=2020-05-08T12:23:19.6731602Z
caller=sidecar.go:220 msg="successfully loaded prometheus external labels"
external_labels="{cluster=\"eu1\", replica=\"0\"}"level=info
ts=2020-05-08T12:23:19.6741671Z caller=intrumentation.go:48 msg="changing probe
status" status=ready*
*But when i am trying to run querier ,it is throwing error.*
*C:\Users\SaurabhJain\Desktop\Bharti\thanos-0.12.2.windows-amd64.tar\thanos-0.12.2.windows-amd64>thanos
query --http-address 127.0.0.1:19092 --grpc-address 127.0.0.1:19091 --store
127.0.0.1:19090level=info ts=2020-05-08T12:24:01.8512907Z caller=main.go:152
msg="Tracing will be disabled"level=info ts=2020-05-08T12:24:01.8522932Z
caller=options.go:23 protocol=gRPC msg="disabled TLS, key and cert must be set
to enable"level=info ts=2020-05-08T12:24:01.8532908Z caller=query.go:400
msg="starting query node"level=info ts=2020-05-08T12:24:01.8608659Z
caller=intrumentation.go:48 msg="changing probe status" status=readylevel=info
ts=2020-05-08T12:24:01.8618699Z caller=intrumentation.go:60 msg="changing probe
status" status=healthylevel=info ts=2020-05-08T12:24:01.8638761Z
caller=http.go:56 service=http/server component=query msg="listening for
requests and metrics" address=127.0.0.1:19092level=info
ts=2020-05-08T12:24:01.8628672Z caller=grpc.go:106 service=gRPC/server
component=query msg="listening for StoreAPI gRPC"
address=127.0.0.1:19091level=warn ts=2020-05-08T12:24:11.8744437Z
caller=storeset.go:440 component=storeset msg="update of store node failed"
err="getting metadata: fetching store info from 127.0.0.1:19090: rpc error:
code = DeadlineExceeded desc = latest connection error: connection closed"
address=127.0.0.1:19090level=info ts=2020-05-08T12:24:16.0123737Z
caller=main.go:223 msg="caught signal. Exiting." signal=interruptlevel=warn
ts=2020-05-08T12:24:16.0134245Z caller=intrumentation.go:54 msg="changing probe
status" status=not-ready reason=nulllevel=warn ts=2020-05-08T12:24:16.0134245Z
caller=storeset.go:440 component=storeset msg="update of store node failed"
err="getting metadata: fetching store info from 127.0.0.1:19090: rpc error:
code = Canceled desc = latest connection error: connection closed"
address=127.0.0.1:19090level=info ts=2020-05-08T12:24:16.0214235Z
caller=http.go:81 service=http/server component=query msg="internal server
shutdown" err=nulllevel=info ts=2020-05-08T12:24:16.022424Z
caller=intrumentation.go:66 msg="changing probe status" status=not-healthy
reason=nulllevel=warn ts=2020-05-08T12:24:16.0234226Z
caller=intrumentation.go:54 msg="changing probe status" status=not-ready
reason=nulllevel=info ts=2020-05-08T12:24:16.0254226Z caller=grpc.go:125
service=gRPC/server component=query msg="gracefully stopping internal
server"level=info ts=2020-05-08T12:24:16.0324231Z caller=grpc.go:137
service=gRPC/server component=query msg="internal server shutdown"
err=nulllevel=info ts=2020-05-08T12:24:16.0344361Z caller=main.go:215
msg=exiting*
*PLs advice what configuration I am missing here or configured something
wrongly.Thanks,Saurabh*
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/82f854b8-7a17-4025-99d7-64e30e84b5c0%40googlegroups.com.