Prometheus plugings no route api

I have this log when i try to access monitoring from grafana:
ActionController::RoutingError (No route matches [OPTIONS] “/metrics/api/v1/query”)

any idea why ?