OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 년 전
..
internal 91643ba261 [mdatagen] allow adding resource_attribute warnings (#27257) 1 년 전
testdata cd91fb4789 [chore][golden] Normal timestamps in golden metric files (#23002) 1 년 전
Makefile 75234802c6 [receiver/snowflakereceiver] New Snowflake receiver skeleton (#14778) 2 년 전
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) 1 년 전
client.go 4232e5ea62 [receiver/snowflake] Change the type of `Config.Password` to be `configopaque.String` (#24065) 1 년 전
client_test.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) 1 년 전
config.go 4232e5ea62 [receiver/snowflake] Change the type of `Config.Password` to be `configopaque.String` (#24065) 1 년 전
config_test.go 91643ba261 [mdatagen] allow adding resource_attribute warnings (#27257) 1 년 전
doc.go 5133f4ccd6 [chore] use license shortform (#22052) 1 년 전
documentation.md c91abadd27 [chore] adopt metadata status for snowflakereceiver (#22127) 1 년 전
factory.go 2c5577b0d7 [chore] updating scrapers to use default method from scraperhelper (#22138) 1 년 전
factory_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 년 전
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 년 전
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 년 전
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 년 전
model.go 5133f4ccd6 [chore] use license shortform (#22052) 1 년 전
scraper.go 29ea5a964d [cmd/mdatagen] Avoid reusing the same ResourceBuilder instance (#24762) 1 년 전
scraper_test.go cd92432fd2 [pkg/golden] internal/coreinternal/golden -> pkg/golden (#28636) 1 년 전

README.md

Snowflake Receiver

Status
Stability alpha: metrics
Distributions contrib
Issues Open issues Closed issues
Code Owners @dmitryax, @shalper2

This receiver collects metrics from a Snowflake account by connecting to and querying a Snowflake deployment.

Configuration

The following settings are required:

  • username (no default): Specifies username used to authenticate with Snowflake.
  • password (no default): Specifies the password associated with designated username. Used to authenticate with Snowflake.
  • account (no default): Specifies the account from which metrics are to be gathered.
  • warehouse (no default): Specifies the warehouse, or unit of computer, designated for the metric gathering queries. Must be an existing warehouse in your Snowflake account.

The following settings are optional:

  • metrics (default: see DefaultMetricSettings here): Controls the enabling/disabling of specific metrics. For in depth documentation on the allowable metrics see here.
  • schema (default: 'ACCOUNT_USAGE'): Snowflake DB schema containing usage statistics and metadata to be monitored.
  • database (default: 'SNOWFLAKE'): Snowflake DB containing schema with usage statistics and metadata to be monitored.
  • role (default: 'ACCOUNTADMIN'): Role associated with the username designated above. By default admin privileges are required to access most/all of the usage data.
  • collection_interval (default: 30m): Collection interval for metrics receiver. The value for this setting must be readable by golang's time.ParseDuration.

Example:

receivers:
  snowflake:
    username: snowflakeuser
    password: securepassword
    account: bigbusinessaccount
    warehouse: metricWarehouse
    collection_interval: 18m
    metrics:
      snowflake.database.bytes_scanned.avg:
        enabled: true
      snowflake.database.bytes_deketed.avg:
        enabled: false

The full list of settings exposed for this receiver are documented here with a detailed sample configuration here