mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 12:50:06 +06:00

* feat: add `benchmarks_entrypoint.py` Adding `benchmarks_entrypoint.py` file, which will be run from the benchmarks CI. This python script will list all python files from the `benchmark/` folder and run the included `run_benchmark` function, allowing people to add new benchmarks scripts. * feat: add `MetricsRecorder` * feat: update dashboard * fix: add missing arguments to `MetricsRecorder` * feat: update dash & add datasource + `default.yml` * fix: move responsibility to create `MetricsRecorder` in bench script * fix: update incorrect datasource UID * fix: incorrect variable values * debug: benchmark entrypoint script * refactor: update log level * fix: update broken import * feat: add debug log in `MetricsRecorder` * debug: set log level to debug * fix: set connection `autocommit` to `True`
18 lines
462 B
YAML
18 lines
462 B
YAML
apiVersion: 1
|
|
datasources:
|
|
- name: grafana-postgresql-datasource
|
|
uid: be28nkzirtb0gd
|
|
type: postgres
|
|
url: $GRAFANA_POSTGRES_DATASOURCE_URL
|
|
user: $GRAFANA_POSTGRES_DATASOURCE_USER
|
|
secureJsonData:
|
|
password: $GRAFANA_POSTGRES_DATASOURCE_PWD
|
|
jsonData:
|
|
database: metrics
|
|
maxOpenConns: 100
|
|
maxIdleConns: 100
|
|
maxIdleConnsAuto: true
|
|
connMaxLifetime: 14400
|
|
postgresVersion: 1000
|
|
timescaledb: false
|