Metrics Service Integrations¶
Overview¶
A distributed cloud applicaiton typically rely on other cloud services. For end-to-end observability, it is important to be able to monitor KPIs (key performance indicator) from these services. This topic describes the various integrations metrics service currently support.
Prerequisites¶
User is required to create a metrics service. User may enable collection of metrics from cloud services while setting up metrics streaming.
Enable Cloud Services Metrics Collection¶
User may use caeops metrics install-agent
with --enable-cloud-services <coma-sperated-list>
to enable or disable metrics collection from a cloud service. For example,
caeops metrics install-agent --enable-cloud-services aws-ec2,aws-dynamodb,aws-apigateway --service-name demo-metrics-service --cloud aws --source kubernetes --kubernetes-cluster-name demo-cluster
Supported Cloud Services¶
Metrics service offers a rich set of integrations with cloud services.
Cloud Provider | Area | Service Name | Keyword for --enable-cloud-services option |
---|---|---|---|
AWS | Networking & Content Delivery | Amazon Virtual Private Cloud (VPC) | aws-natgateway |
Elastic Load Balancing | aws-elb | ||
Amazon API Gateway | aws-apigateway | ||
Compute | Amazon EC2 | aws-ec2 | |
Amazon Elastic Container Service | aws-ecs | ||
AWS Fargate | aws-fargate | ||
AWS Lambda | aws-lambda | ||
Databases | Amazon DynamoDB | aws-dynamodb | |
Amazon Relational Database Service (RDS) | aws-rds | ||
Amazon DocumentDB (with MongoDB compatibility) | aws-docdb | ||
Amazon Keyspaces (for Apache Cassandra) | aws-cassandra | ||
Cloud Storage | Amazon Elastic Block Store (EBS) | aws-ebs | |
Amazon S3 | aws-s3 | ||
Amazon Elastic File System (EFS) | aws-efs | ||
Cloud Security | Amazon Cognito | aws-cognito | |
Application Integration | Amazon Simple Notification Service (SNS) | aws-sns | |
Amazon Simple Queue Service (SQS) | aws-sqs | ||
AWS Events from services | aws-events | ||
AWS States from services | aws-states | ||
Business Applications | Amazon Simple Email Service | aws-ses |
Application Runtime Environments¶
Metrics service supports the following application environments:
- Distributed microservices style cloud applications - Amazon Elastic Kubernetes Service (EKS)
- Containerized web applications - Docker with EC2 as application runtime environments
- Serverless containerized web applications - Fargate with AWS ECS
- Serverless functions - Lambda
Refer to Supported Environment section of Setup Metrics Streaming topic for details.