Snowflakeレシーバー 🔗
The Snowflake receiver collects metrics from a Snowflake account by connecting to and querying a Snowflake deployment.
はじめに 🔗
以下の手順に従って、コンポーネントの設定とアクティベーションを行ってください:
Splunk Distribution of the OpenTelemetry Collector をホストまたはコンテナプラットフォームにデプロイします:
次のセクションで説明するようにレシーバーを設定します。
Collector を再起動します。
サンプル構成 🔗
To activate the receiver in the Collector, add snowflake
to the receivers
section of your configuration file, as shown in the following example:
receivers:
snowflake:
コンフィギュレーションを完了するには、コンフィギュレーションファイルの service
セクションの metrics
パイプラインに、レシーバーを含めます。例:
service:
pipelines:
metrics:
receivers: [snowflake]
設定例 🔗
次の設定例を参照してください:
receivers:
snowflake:
username: snowflakeuser
password: securepassword
account: bigbusinessaccount
warehouse: metricWarehouse
collection_interval: 5m
metrics:
snowflake.database.bytes_scanned.avg:
enabled: true
snowflake.query.bytes_deleted.avg:
enabled: false
コンフィギュレーション設定 🔗
以下の設定が必要です:
account
. No default. Specifies the account from which metrics are gathered from.password
. No default. Specifies the password associated with the designated username. Used to authenticate with Snowflake.username
. No default. Specifies the username used to authenticate with Snowflake.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.
以下の設定はオプションです:
collection_interval
.30m
by default. Collection interval for the metrics receiver. The value for this setting must be readable by golang’stime.ParseDuration
. Learn more at GO’s time ParseDuration .database
.'SNOWFLAKE
by default. Snowflake DB containing the schema with usage statistics and metadata to be monitored.metrics
. Controls the enabling/disabling of specific metrics. For a list of available metrics see メトリクス. To learn more refer to Snowflake generated metrics in GitHub.role
.'ACCOUNTADMIN'
by default. Role associated with the username designated above. By default you need admin privileges to access most/all of the usage data.schema
.'ACCOUNT_USAGE'
by default. The Snowflake DB schema that contains the usage statistics and metadata to be monitored.
設定 🔗
The following table shows the configuration options for the Snowflake receiver:
メトリクス 🔗
以下のメトリクス、リソース属性、および属性が使用できます。
トラブルシューティング 🔗
Splunk Observability Cloudをご利用のお客様で、Splunk Observability Cloudでデータを確認できない場合は、以下の方法でサポートを受けることができます。
Splunk Observability Cloudをご利用のお客様
Splunk サポートポータル でケースを送信する
Splunkサポート に連絡する
見込み客および無料トライアルユーザー様
Splunk Answers のコミュニティサポートで質問し、回答を得る
Join the Splunk #observability user group Slack channel to communicate with customers, partners, and Splunk employees worldwide. To join, see Chat groups in the Get Started with Splunk Community manual.