| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | //go:build !cgo |
| 4 | |
| 5 | package db2 |
| 6 | |
| 7 | import ( |
| 8 | "github.com/netdata/netdata/go/plugins/plugin/framework/collectorapi" |
| 9 | ) |
| 10 | |
| 11 | var configSchema string |
| 12 | |
| 13 | func init() { |
| 14 | collectorapi.Register("db2", collectorapi.Creator{ |
| 15 | JobConfigSchema: configSchema, |
| 16 | Create: func() collectorapi.CollectorV1 { return New() }, |
| 17 | Config: func() any { return nil }, |
| 18 | }) |
| 19 | } |