CLOUDWATCH MULE® INTEGRATION
Configuration | The Service
The service user permissions
CloudWatch Mule® Integration requires specific permissions on the MuleSoft Anypoint Platform to collect metrics.
There are some common permissions that must be granted to be able to execute any API and others, specific, used by one or few APIs.
-
Exchange API:
o Exchange Administrator
This is only required to read data from Exchange. CloudWatch Mule® Integration does not modify any asset.
-
CloudHub:
o CloudHub Organization Admin
This is only required to read data from CloudHub. CloudWatch Mule® Integration does not modify any asset.
o Read Alerts
-
ARM Rest Services
o Read Alerts
o Read Applications
o Read Servers
-
Access Management:
o Read Applications
o View Organization
- ARM Monitoring Query:
o Read Applications
-
Object Store:
o Manage Application Data
o Manage stores data
-
Object Store V2 Stats:
o An administrator user
This is only required to read data from Object Store V2 statistics. CloudWatch Mule® Integration does not modify any asset. If these metrics are not desired, make sure you comment out this entry in the configuration file in instances.
The integration does not modify in any manner the assets in Anypoint Platform, those permissions are for read-only.
Full example
Below is a complete configuration example (with fake credentials and ids):
init_config:
hosts:
anypoint: https://anypoint.mulesoft.com
object_store_v2: https://object-store-us-east-1.anypoint.mulesoft.com
object_store_v2_stats: https://object-store-stats.anypoint.mulesoft.com
mule_server: http://localhost:9999
oauth_provider: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token
client_id: 035715123cbc31a1234a43143213f3
client_secret: bAc2345678C34aFB1A12f5A245678
env_id: a3cc1234-4a24-125b-1a45-1c1aa13cad
org_id: ac2345aa-cc13-1367-bca1-b12aa4aa
api_key: 548f-1s52-2d5f4f4ed
customer_key: a6a6-b5e854e5
connection_wait_time: 2
connection_attempts_num: 3
instances:
- min_collection_interval: 86400
threads: 32
api_filter:
- access_management
- min_collection_interval: 10
threads: 32
api_filter:
- arm_monitoring_query
- min_collection_interval: 10
threads: 32
api_filter:
- arm_mule_agent
- min_collection_interval: 10
threads: 32
api_filter:
- arm_rest_services
- min_collection_interval: 10
threads: 32
api_filter:
- cloudhub
- min_collection_interval: 86400
threads: 32
api_filter:
- exchange_experience
- min_collection_interval: 60
threads: 32
api_filter:
- insight
- min_collection_interval: 86400
threads: 32
api_filter:
- object_store
- min_collection_interval: 86400
threads: 32
api_filter:
- object_store_v2_stats