https://rancher.com/ logo
Title
a

ambitious-furniture-5481

03/31/2023, 11:49 AM
Hi Everyone, I update rancher monitor to latest version (v100.2.0+up40.1.2) but I am having a new issue that when i type grafana.company.com in browser with that /k8s/clusters/local/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/?orgId=1 this one is also adding any idea what where I need to update so it will not come in url then
s

stocky-account-63046

03/31/2023, 11:52 AM
That url path needs to be used with the rancher domain. It goes out to the upstream/local cluster and proxies to grafana
The auth headers / session will also need to come from Rancher world
a

ambitious-furniture-5481

03/31/2023, 11:53 AM
In which file I need to check ?
I am new in ranchers so I am not getting the right file where I need to check
s

stocky-account-63046

03/31/2023, 11:54 AM
the rancher domain is the domain used to access the rancher ui
a

ambitious-furniture-5481

03/31/2023, 11:54 AM
we cannot rewite the url ?
s

stocky-account-63046

03/31/2023, 11:56 AM
when you set up rancher you can change it via
hostname
related fields (there should be some good docs over at the rancher docs site install pages)
a

ambitious-furniture-5481

03/31/2023, 12:00 PM
Thanks Richard i will check
I did the grafana config in grafana.ini inside rancher monitor values file
grafana.ini:
    auth:
      disable_login_form: false
    auth.anonymous:
      enabled: true
      org_role: Viewer
    auth.basic:
      enabled: false
    dashboards:
      default_home_dashboard_path: /tmp/dashboards/rancher-default-home.json
    security:
      allow_embedding: true
    users:
      auto_assign_org_role: Viewer
    auth.ldap:
      allow_sign_up: true
      enabled: true
    server:
      domain: <http://labgrafana-k8s.sipd01.com|labgrafana-k8s.sipd01.com>
but domain redirect to labgrafana-k8s.sipd01.com*/k8s/clusters/local/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/*?orgId=1
s

stocky-account-63046

03/31/2023, 1:04 PM
that will most probably be the url you use to access the rancher ui? we're reaching the end of my understanding though, i haven't dabbled with how grafana is configured or it's intergrated with monitoring