instance

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

Package instance contains helper methods for instance-level metric collection

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstanceEntity

func CreateInstanceEntity(i *integration.Integration, con *connection.SQLConnection) (*integration.Entity, error)

CreateInstanceEntity runs a query to get the instance

Types

type NameRow

type NameRow struct {
	Name sql.NullString `db:"instance_name"`
}

NameRow is a row result in the instanceNameQuery

Jump to

Keyboard shortcuts

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