package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: Oct 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Usage
source:
name: metabase
config:
host: http://localhost:3000
instance_label: my-metabase
username: meteor_tester
password: meteor_pass_1234
Key |
Value |
Example |
Description |
|
host |
string |
http://localhost:4002 |
The host at which metabase is running |
required |
instance_label |
string |
my-metabase |
Instance alias, the value will be used as part of the urn component |
required |
username |
string |
meteor_tester |
Username/email to access the metabase |
optional |
password |
string |
meteor_pass_1234 |
Password for the metabase |
optional |
session_id |
string |
meteor_pass_1234 |
Use existing session ID from metabase to create requests. (this will ignore username and password) |
optional |
Outputs
Field |
Sample Value |
resource.urn |
metabase::my-metabase/dashboard/5123 |
resource.name |
dashboard_name |
resource.service |
metabase |
description |
table description |
charts |
[]Chart |
Chart
Field |
Sample Value |
urn |
metabase::my-metabase/card/9123 |
source |
metabase |
dashboard_urn |
metabase::my-metabase/dashboard/5123 |
dashboard_source |
metabase |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
Host string `json:"host" yaml:"host" mapstructure:"host" validate:"required"`
InstanceLabel string `json:"instance_label" yaml:"instance_label" mapstructure:"instance_label" validate:"required"`
Username string `json:"username" yaml:"username" mapstructure:"username" validate:"required_without=SessionID"`
Password string `json:"password" yaml:"password" mapstructure:"password"`
SessionID string `json:"session_id" yaml:"session_id" mapstructure:"session_id"`
}
Config holds the set of configuration for the metabase extractor
type Extractor struct {
}
Extractor manages the extraction of data
from the metabase server
New returns a pointer to an initialized Extractor Object
Extract collects the metadata from the source. The metadata is collected through the out channel
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.