______ ________ ________
___ ______ ________ ________ ______ ___ ______ ____________ __ _____________ _________ __ _______ _______ ____ ______ ________ __ __________ __ ___
___ ______ ________ ________ ______ ___ ______ ____________ __ ___ _____________ _________ __ _______ _______ ____ ______ _________ ___ ________ ________ __ __ ______ ________ ________ ___ _______ _______ ____ __ ___ ______ __ ________ ______ __________ ___ _____ ___ _______ ___ _________ ________ ____ __ ________ ___ _______ ____ ____ ____ _________ ___ ____ ____________
___ _______
______ _____ _____ __ _________ ___ ________ ___ __________
-
______ ___ ______ ____________ __ ___ _____________ _________ __ ____ ____ __ _________ _________
-
_________ ___ ______ ________ ________ __ _________ __ ___ ____ ________
-
_______ ___ __________
______ _ ________ ____ ___ ____ _______
__ ______ __ ______ ________ ____ ___ ____ ________ ___ ___ _________ _________
-- Create user and set a password
CREATE USER <username> IDENTIFIED BY <password>;
_________ __ _____ _______ ___ ________ ___ _____ ____ __ ______ ___ _________ ___________ __ ___ ________ _____
-
_____ ______ __ __________ __ ___________ -
_____ ______ __ __________ __ ___________ -
_____ ______ __ _________________ __ ___________ -
_____ ______ __ _______________ __ ___________ -
_____ ______ __ ______________ __ ___________ -
_____ ______ __ ____________________________ __ ___________
______ ______________
__ ________ ___ ______ ________ _________ ___ ________ __ ___ _________ _______ __ ____ _____________ _____ __ _____ __ ___ _________ ________
receivers:
oracledb:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"
__ ___ ____ ____ ___ ________ __ ______ _________ ___ __ ____ _______ __ ___ ________ ________ __ _______ ___ ________
receivers:
oracledb/aninstance:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"
oracledb/anotherinstance:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"
__ ________ ___ ______________ _______ ___ ________ __ ___ _______ ________ __ ___ _______ _______ __ ____ _____________ _____ ___ ________
service:
pipelines:
metrics:
receivers:
- oracledb
__ _________ ___ ______ ________ ________ ___ ____ _____________ ____
receivers:
oracledb:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<username>:<password>@<host>:<port>/<service_name>?<server>=<host>:<port>"
________
___ _________ _____ _____ ___ _____________ _______ ___ ___ ______ ________ _________
________
________________________________________________________________________________________________________
_______
___ _________ ________ ________ ___________ ___ ___________ ___ __________
________
__________________________________________________________________________________________________________
特定のメトリクスをアクティブまたは非アクティブにする
各メトリクスの metrics セクションの enabled フィールドを設定することで、特定のメトリクスをアクティブまたは非アクティブにできます。例:
receivers:
samplereceiver:
metrics:
metric-one:
enabled: true
metric-two:
enabled: false
以下は、アクティブ化されたメトリクスを持つホスト・メトリクス・レシーバーの構成例です:
receivers:
hostmetrics:
scrapers:
process:
metrics:
process.cpu.utilization:
enabled: true
-
MTS ベースのサブスクリプションの場合、すべてのメトリックがメトリックの使用にカウントされます。
-
ホストベースのプランを使用している場合、このドキュメントでアクティブ(アクティブ:はい)としてリストされているメトリックはデフォルトと見なされ、無料で含まれています。
詳細については、「Infrastructure Monitoringのサブスクリプション使用状況(ホストとメトリクスのプラン)」を参照してください。
_______________
__ ___ ___ _ ______ _____________ _____ ________ ___ ___ ___ ____ __ ___ ____ ____ __ ______ _____________ ______ ___ ___ ___ ____ __ ___ _________ _____
_________ __ ______ _____________ _____ _________
-
______ _ ____ __ ___ ______ _______ _______
-
_______ ______ ________
_________ __ ___________ _________ ___ ____ _____ _____
-
___ _ ________ ___ ___ _______ _______ _________ _______ __ ______ ________
-
____ ___ ______ ______________ ____ _____ _____ _______ __ ___________ ____ __________ _________ ___ ______ _________ __________ __ _____ ___ ____ _______