You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
Refactor to allow packaging of oracledb_exporter (#308)
* refactor to allow packaging of oracledb_exporter
* resync the collector package
* add code snippet for readme
* bump version to 0.5.0
* revert version bump
Copy file name to clipboardExpand all lines: README.md
+42Lines changed: 42 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -472,6 +472,48 @@ Everything must compile, including mattn driver for oracle.
472
472
473
473
Next build ./... in oracledb-exporter dir, or install it.
474
474
475
+
## Import into your Golang Application
476
+
477
+
The `oracledb_exporter` can also be imported into your Go based applications. The [Grafana Agent](https://github.com/grafana/agent/) uses this pattern to implement the [OracleDB integration](https://grafana.com/docs/grafana-cloud/data-configuration/integrations/integration-reference/integration-oracledb/). Feel free to modify the code to fit your application's use case.
478
+
479
+
Here is a small snippet of an example usage of the exporter in code:
0 commit comments