Uses new httpclient package from grafana-plugin-sdk-go introduced via grafana/grafana-plugin-sdk-go#328. Replaces the GetHTTPClient, GetTransport, GetTLSConfig methods defined on DataSource model. Longer-term the goal is to migrate core HTTP backend data sources to use the SDK contracts and using httpclient.Provider for creating HTTP clients and such. Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
8 lines
198 B
YAML
8 lines
198 B
YAML
slow_proxy:
|
|
build: docker/blocks/slow_proxy
|
|
network_mode: host
|
|
ports:
|
|
- "3011:3011"
|
|
environment:
|
|
ORIGIN_SERVER: ${ORIGIN_SERVER}
|
|
SLEEP_DURATION: ${SLEEP_DURATION} |