Skip to content

sql: unknown driver "goracle" (forgotten import?) #6

Closed

Description

@wanghy8166

In version 0.6.8, when I connect to an oracle instance, the log outputs an error message. How do I fix this:

I1115 19:26:46.802025 1 promhttp.go:39] Error gathering metrics: 4 error(s) occurred:

  • [from Gatherer 1] [job="oracle", target="orcl-192.168.0.1:1521/orcl"]
    sql: unknown driver "goracle" (forgotten import?)

Activity

  1. added a commit that references this issue on Nov 20, 2024
    84235b7
  2. wanghy8166 commented on Dec 1, 2024

    @wanghy8166
    Author

    I recompiled v0.6.8 and made a docker image as follows:
    registry.cn-hangzhou.aliyuncs.com/hd2020/ka:database_exporter0.6.8

  3. wanghy8166 commented on Dec 1, 2024

    @wanghy8166
    Author

    测试支持:mysql8,oracle11,pg15,sqlserver2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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