After you define the scope of your configuration, you need to identify the following:
Example payload to activate the Snowflake Database extension:
[{"value": {"enabled": true,"description": "My SnowFlake DB extension","version": "0.1.1","featureSets": ["io","cpu",],"sqlSnowflakeRemote": {"endpoints": [{"host": "sqlserver.org","port": 1521,"databaseName":"SNOWFLAKE_SAMPLE_DATA","warehouse":"yourwarehouse","schema":"yourschema","authentication": {"scheme": "basic","username": "admin","password": "password"}}]}},"scope": "ag_group-default"}]
If set to true
, the configuration is active and Dynatrace starts monitoring immediately.
Human-readable description of the specifics of this monitoring configuration.
Version of this monitoring configuration. Note that a single extension can run multiple monitoring configurations.
Add a list of feature sets you want to monitor. To report all feature sets, add all
.
"featureSets": ["cpu","io"]
You can define up to 20,000 endpoints in a single monitoring configuration in the SQLSnowflakeRemote
section.
"sqlSnowflakeRemote": {"endpoints": [{"host": "your-snowflake.com","port": 1521,"databaseName":"SNOWFLAKE_SAMPLE_DATA","warehouse":"yourwarehouse","schema":"yourschema","authentication": {"scheme": "basic","username": "admin","password": "password"}}]}
To define the Snowflake Database server, add the following details in the endpoints
section:
Authentication details passed to the Dynatrace API when activating monitoring configuration are obfuscated and it's impossible to retrieve them.
The credential vault authentication type provides a more secure approach to using extensions by securely storing and managing user credentials. To use this, you must be the owner of the credentials and have a credential vault that meets the following criteria:
"authentication": {"scheme": "basic","useCredentialVault": true,"credentialVaultId": "some-credential-vault-id"}
Note that each ActiveGate host running your extension needs the root certificate to verify the authenticity of your extension. For more information, see Sign extension.
The scope is an ActiveGate group that will execute the extension. Only one ActiveGate from the group will run this monitoring configuration. If you plan to use a single ActiveGate, assign it to a dedicated group. You can assign an ActiveGate to a group during or after installation. For more information, see ActiveGate group.
Use the following format when defining the ActiveGate group:
"scope": "ag_group-<ActiveGate-group-name>",
Replace <ActiveGate-group-name>
with the actual name.