simPod/GrafanaJsonDatasource

Datasource provisioning - unable to set Forward OAuth Identity and timeout

PostulkaJiri opened this issue · 5 comments

Hello,

I'm using datasource config yaml to preconfigure datasources in grafana which im running inside docker, but i got trouble to set timeout a forward oauth identity over that.
Grafana version 9.4.10
simpod-json-datasource 0.4.1

I have tried to change Forward OAuth Identity and timeout inside Grafana, and in SqLite database data_source changed json_data column from null to value
x'7b226f617574685061737354687275223a747275652c2274696d656f7574223a3939397d'

Which is hexadecimal coded text in utf-8 equals to:
{"oauthPassThru":true,"timeout":999}

so i set my default.yaml to looks like this:

datasources:
- name: JSON
  type: simpod-json-datasource
  enabled: true
  url: xxx
  access: proxy
  basic_auth: false
  editable: true
  isDefault: true
  json_data:
    oauthPassThru: true
    timeout: 999
  with_credentials: false
  uid: simpodjson1

but nothing changed.

Can you give me a hint, what im doing wrong?

thank you

simPod commented

Hello, do you have a grafana documentation for what you're trying to do?

Also I do not support v0.4 anymore. Current version is 0.6.

here's documentation of what I'm trying to achieve
https://grafana.com/docs/grafana/v9.4/administration/provisioning/

This issue has been automatically marked as stale because it has not
had recent activity. It will be closed if no further activity occurs.

This issue has not seen any activity since it was marked stale.
Closing.