Skip to content

msg="error parsing file \"/sybase.yaml\": open /sybase.yaml: no such file or directory" source="dbms_exporter.go:474" #16

@dongdong159

Description

@dongdong159

I use docker-compose to run this image, but the error is as followed:
time="2022-05-10T07:07:42Z" level=fatal msg="error parsing file "/sybase.yaml": open /sybase.yaml: no such file or directory" source="dbms_exporter.go:474"

docker-compose:
sybase_exporter:
image: ncabatoff/dbms_exporter
ports:
- 5001:5001
environment:
- DATA_SOURCE_NAME="compatibility_mode=sybase;user=sa;pwd=password;server=192.168.10.143:5000" -driver freetds -queryfile sybase.yaml
command:
-queryfile /sybase.yaml
-driver freetds

Hoping your answers sincerely. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions