However, I am unable to get the service up and running in prometheus UI.(I queried "up" to check the server running status). I am getting a following message in the prometheus log.
caller=tls_config.go:191 component=web msg="TLS is disabled." http2=falseIf I set the protocol as Http1AndHttp2 am getting the service up and running in prometheus. But I need the service to be up when only http2 protocol is supported.
Please also find the config that I have done in my prometheus.yml
- job_name: "service" # metrics_path defaults to '/metrics' scheme: https tls_config: insecure_skip_verify: true static_configs: - targets: - localhost:5001