Prometheus: Throw error on direct access (#50162)
* Disable direct access * Hide access select if Server mode is already selected * Update docs * Add more tests Co-authored-by: Beto Muniz <contato@betomuniz.com>
This commit is contained in:
co-authored by
Beto Muniz
parent
b5cb7738da
commit
f30795b088
@@ -26,7 +26,7 @@ To access Prometheus settings, hover your mouse over the **Configuration** (gear
|
||||
| `Name` | The data source name. This is how you refer to the data source in panels and queries. |
|
||||
| `Default` | Default data source that is pre-selected for new panels. |
|
||||
| `Url` | The URL of your Prometheus server, for example, `http://prometheus.example.org:9090`. |
|
||||
| `Access` | Server (default) = URL needs to be accessible from the Grafana backend/server, Browser = URL needs to be accessible from the browser. **Note**: Browser (direct) access is deprecated and will be removed in a future release. |
|
||||
| `Access` | Only Server access mode is functional. If Server mode is already selected this option is hidden. Otherwise change to Server mode to prevent errors. |
|
||||
| `Basic Auth` | Enable basic authentication to the Prometheus data source. |
|
||||
| `User` | User name for basic authentication. |
|
||||
| `Password` | Password for basic authentication. |
|
||||
|
||||
Reference in New Issue
Block a user