oracle

package
v0.0.0-...-6d4fb29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package oracle is a Oraclebeat module that contains MetricSets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvDSN

func GetEnvDSN() string

func GetHash

func GetHash(text string) string

Generates a short unique hash and returns the result as hex string

func NewModule

func NewModule(base mb.BaseModule) (mb.Module, error)

func ParseDSN

func ParseDSN(mod mb.Module, host string) (mb.HostData, error)

ParseDSN creates a DSN (data source name) string by parsing the host. It validates the resulting DSN and returns an error if the DSN is invalid.

Format:  username:password@address:port/service
Example: oracle://system:changeme@hostname:1521/orcl

func Scan

func Scan(rows *sql.Rows) ([]map[string]interface{}, error)

Scan data retrived from metricset queries

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL