@jaypie/mcp 0.3.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/createMcpServer.d.ts +7 -1
- package/dist/index.js +22 -2088
- package/dist/index.js.map +1 -1
- package/dist/suite.js +1197 -7
- package/dist/suite.js.map +1 -1
- package/package.json +1 -2
- package/release-notes/constructs/1.2.18.md +12 -0
- package/release-notes/fabric/0.1.3.md +25 -0
- package/release-notes/fabric/0.1.4.md +42 -0
- package/release-notes/llm/1.2.5.md +25 -0
- package/release-notes/llm/1.2.6.md +55 -0
- package/release-notes/mcp/0.4.0.md +27 -0
- package/release-notes/testkit/1.2.15.md +23 -0
- package/skills/agents.md +18 -8
- package/skills/aws.md +232 -60
- package/skills/datadog.md +98 -64
- package/skills/dynamodb.md +37 -28
- package/skills/fabric.md +30 -3
- package/skills/issues.md +55 -0
- package/skills/llm.md +381 -0
- package/skills/secrets.md +74 -18
- package/skills/skills.md +23 -0
- package/skills/tools-aws.md +148 -0
- package/skills/tools-datadog.md +190 -0
- package/skills/tools-dynamodb.md +140 -0
- package/skills/tools.md +19 -54
- package/skills/vocabulary.md +25 -0
- package/dist/aws-B3dW_-bD.js +0 -1202
- package/dist/aws-B3dW_-bD.js.map +0 -1
- package/prompts/Branch_Management.md +0 -34
- package/prompts/Development_Process.md +0 -89
- package/prompts/Jaypie_Agent_Rules.md +0 -110
- package/prompts/Jaypie_Auth0_Express_Mongoose.md +0 -736
- package/prompts/Jaypie_Browser_and_Frontend_Web_Packages.md +0 -18
- package/prompts/Jaypie_CDK_Constructs_and_Patterns.md +0 -430
- package/prompts/Jaypie_CICD_with_GitHub_Actions.md +0 -371
- package/prompts/Jaypie_Commander_CLI_Package.md +0 -166
- package/prompts/Jaypie_Core_Errors_and_Logging.md +0 -39
- package/prompts/Jaypie_DynamoDB_Package.md +0 -774
- package/prompts/Jaypie_Eslint_NPM_Package.md +0 -78
- package/prompts/Jaypie_Express_Package.md +0 -630
- package/prompts/Jaypie_Fabric_Commander.md +0 -411
- package/prompts/Jaypie_Fabric_LLM.md +0 -312
- package/prompts/Jaypie_Fabric_Lambda.md +0 -308
- package/prompts/Jaypie_Fabric_MCP.md +0 -316
- package/prompts/Jaypie_Fabric_Package.md +0 -599
- package/prompts/Jaypie_Fabricator.md +0 -617
- package/prompts/Jaypie_Ideal_Project_Structure.md +0 -78
- package/prompts/Jaypie_Init_CICD_with_GitHub_Actions.md +0 -1186
- package/prompts/Jaypie_Init_Express_on_Lambda.md +0 -115
- package/prompts/Jaypie_Init_Jaypie_CDK_Package.md +0 -35
- package/prompts/Jaypie_Init_Lambda_Package.md +0 -505
- package/prompts/Jaypie_Init_Monorepo_Project.md +0 -44
- package/prompts/Jaypie_Init_Project_Subpackage.md +0 -65
- package/prompts/Jaypie_Legacy_Patterns.md +0 -15
- package/prompts/Jaypie_Llm_Calls.md +0 -449
- package/prompts/Jaypie_Llm_Tools.md +0 -155
- package/prompts/Jaypie_MCP_Package.md +0 -281
- package/prompts/Jaypie_Mocks_and_Testkit.md +0 -137
- package/prompts/Jaypie_Repokit.md +0 -103
- package/prompts/Jaypie_Scrub.md +0 -177
- package/prompts/Jaypie_Streaming.md +0 -467
- package/prompts/Templates_CDK_Subpackage.md +0 -115
- package/prompts/Templates_Express_Subpackage.md +0 -187
- package/prompts/Templates_Project_Monorepo.md +0 -326
- package/prompts/Templates_Project_Subpackage.md +0 -93
- package/prompts/Write_Efficient_Prompt_Guides.md +0 -48
- package/prompts/Write_and_Maintain_Engaging_Readme.md +0 -67
- package/skills/topics.md +0 -116
- /package/skills/{writing.md → documentation.md} +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Datadog MCP tools for logs, monitors, metrics, synthetics, and RUM
|
|
3
|
+
related: datadog, tools, debugging, logs
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Datadog MCP Tools
|
|
7
|
+
|
|
8
|
+
Tools for querying Datadog observability data via the Jaypie MCP.
|
|
9
|
+
|
|
10
|
+
## Available Tools
|
|
11
|
+
|
|
12
|
+
| Tool | Description |
|
|
13
|
+
|------|-------------|
|
|
14
|
+
| `datadog_logs` | Search individual log entries |
|
|
15
|
+
| `datadog_log_analytics` | Aggregate logs with groupBy |
|
|
16
|
+
| `datadog_monitors` | List and check monitor status |
|
|
17
|
+
| `datadog_synthetics` | List synthetic tests and results |
|
|
18
|
+
| `datadog_metrics` | Query timeseries metrics |
|
|
19
|
+
| `datadog_rum` | Search Real User Monitoring events |
|
|
20
|
+
|
|
21
|
+
## Environment Variables
|
|
22
|
+
|
|
23
|
+
Configure defaults via environment:
|
|
24
|
+
|
|
25
|
+
| Variable | Description |
|
|
26
|
+
|----------|-------------|
|
|
27
|
+
| `DATADOG_API_KEY` or `DD_API_KEY` | API key (required) |
|
|
28
|
+
| `DATADOG_APP_KEY` or `DD_APP_KEY` | Application key (required) |
|
|
29
|
+
| `DD_ENV` | Default environment filter |
|
|
30
|
+
| `DD_SERVICE` | Default service filter |
|
|
31
|
+
| `DD_SOURCE` | Default log source (default: lambda) |
|
|
32
|
+
|
|
33
|
+
## Log Search
|
|
34
|
+
|
|
35
|
+
Search individual log entries:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
# Search error logs
|
|
39
|
+
datadog_logs --query "status:error" --from "now-1h"
|
|
40
|
+
|
|
41
|
+
# Search by service
|
|
42
|
+
datadog_logs --query "service:my-api status:error" --from "now-15m"
|
|
43
|
+
|
|
44
|
+
# Search by attribute
|
|
45
|
+
datadog_logs --query "@http.status_code:500" --from "now-1h"
|
|
46
|
+
|
|
47
|
+
# Wildcard search
|
|
48
|
+
datadog_logs --query "*timeout*" --from "now-30m"
|
|
49
|
+
|
|
50
|
+
# Limit results
|
|
51
|
+
datadog_logs --query "status:error" --from "now-1h" --limit 100
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Log Analytics
|
|
55
|
+
|
|
56
|
+
Aggregate logs for statistics:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
# Count errors by service
|
|
60
|
+
datadog_log_analytics --groupBy '["service"]' --query "status:error"
|
|
61
|
+
|
|
62
|
+
# Count by status code
|
|
63
|
+
datadog_log_analytics --groupBy '["@http.status_code"]' --query "*"
|
|
64
|
+
|
|
65
|
+
# Multiple groupings
|
|
66
|
+
datadog_log_analytics --groupBy '["service", "status"]' --query "*"
|
|
67
|
+
|
|
68
|
+
# Average response time
|
|
69
|
+
datadog_log_analytics --groupBy '["service"]' \
|
|
70
|
+
--aggregation "avg" \
|
|
71
|
+
--metric "@duration" \
|
|
72
|
+
--query "*"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Monitors
|
|
76
|
+
|
|
77
|
+
Check monitor status:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
# List all monitors
|
|
81
|
+
datadog_monitors
|
|
82
|
+
|
|
83
|
+
# Filter alerting monitors
|
|
84
|
+
datadog_monitors --status '["Alert", "Warn"]'
|
|
85
|
+
|
|
86
|
+
# Filter by name
|
|
87
|
+
datadog_monitors --name "my-api"
|
|
88
|
+
|
|
89
|
+
# Filter by tags
|
|
90
|
+
datadog_monitors --tags '["env:production"]'
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Synthetics
|
|
94
|
+
|
|
95
|
+
List synthetic tests:
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
# List all tests
|
|
99
|
+
datadog_synthetics
|
|
100
|
+
|
|
101
|
+
# Filter by type
|
|
102
|
+
datadog_synthetics --type "api"
|
|
103
|
+
datadog_synthetics --type "browser"
|
|
104
|
+
|
|
105
|
+
# Get results for specific test
|
|
106
|
+
datadog_synthetics --testId "abc-123-def"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Metrics
|
|
110
|
+
|
|
111
|
+
Query timeseries metrics:
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
# CPU usage
|
|
115
|
+
datadog_metrics --query "avg:system.cpu.user{*}" --from "1h"
|
|
116
|
+
|
|
117
|
+
# Lambda invocations
|
|
118
|
+
datadog_metrics --query "sum:aws.lambda.invocations{function:my-func}.as_count()" --from "1h"
|
|
119
|
+
|
|
120
|
+
# Lambda duration
|
|
121
|
+
datadog_metrics --query "max:aws.lambda.duration{env:production}" --from "30m"
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## RUM Events
|
|
125
|
+
|
|
126
|
+
Search Real User Monitoring events:
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
# Search all events
|
|
130
|
+
datadog_rum --from "now-1h"
|
|
131
|
+
|
|
132
|
+
# Filter by type
|
|
133
|
+
datadog_rum --query "@type:error" --from "now-1h"
|
|
134
|
+
|
|
135
|
+
# Filter by session
|
|
136
|
+
datadog_rum --query "@session.id:abc123" --from "now-1h"
|
|
137
|
+
|
|
138
|
+
# Filter by URL
|
|
139
|
+
datadog_rum --query "@view.url:*checkout*" --from "now-1h"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Query Syntax
|
|
143
|
+
|
|
144
|
+
### Log Search Syntax
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
status:error # By status
|
|
148
|
+
@http.status_code:500 # By attribute
|
|
149
|
+
service:my-api # By service
|
|
150
|
+
*timeout* # Wildcard
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Time Ranges
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
now-15m # Last 15 minutes
|
|
157
|
+
now-1h # Last hour
|
|
158
|
+
now-1d # Last day
|
|
159
|
+
2024-01-15T10:00:00Z # Specific time (ISO 8601)
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Common Patterns
|
|
163
|
+
|
|
164
|
+
### Debug Lambda Issues
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
# Search recent errors
|
|
168
|
+
datadog_logs --query "service:my-function status:error" --from "now-1h"
|
|
169
|
+
|
|
170
|
+
# Check error counts by service
|
|
171
|
+
datadog_log_analytics --groupBy '["service"]' --query "status:error" --from "now-1h"
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Monitor Status Check
|
|
175
|
+
|
|
176
|
+
```
|
|
177
|
+
# Check alerting monitors
|
|
178
|
+
datadog_monitors --status '["Alert", "Warn"]'
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Frontend Issues
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
# Search RUM errors
|
|
185
|
+
datadog_rum --query "@type:error" --from "now-1h"
|
|
186
|
+
|
|
187
|
+
# Check synthetic test results
|
|
188
|
+
datadog_synthetics --testId "my-checkout-test"
|
|
189
|
+
```
|
|
190
|
+
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: DynamoDB MCP tools for table queries, scans, and item retrieval
|
|
3
|
+
related: dynamodb, tools, tools-aws
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# DynamoDB MCP Tools
|
|
7
|
+
|
|
8
|
+
Tools for interacting with DynamoDB tables via the Jaypie MCP.
|
|
9
|
+
|
|
10
|
+
## Available Tools
|
|
11
|
+
|
|
12
|
+
| Tool | Description |
|
|
13
|
+
|------|-------------|
|
|
14
|
+
| `aws_dynamodb_describe_table` | Get table schema, indexes, and metadata |
|
|
15
|
+
| `aws_dynamodb_query` | Query by partition key (efficient) |
|
|
16
|
+
| `aws_dynamodb_scan` | Full table scan (use sparingly) |
|
|
17
|
+
| `aws_dynamodb_get_item` | Get single item by primary key |
|
|
18
|
+
|
|
19
|
+
## Describe Table
|
|
20
|
+
|
|
21
|
+
Get table metadata including key schema, indexes, and throughput:
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
aws_dynamodb_describe_table --tableName "MyTable"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Returns:
|
|
28
|
+
- Key schema (partition key, sort key)
|
|
29
|
+
- Global secondary indexes
|
|
30
|
+
- Billing mode and provisioned throughput
|
|
31
|
+
- Item count and size estimates
|
|
32
|
+
|
|
33
|
+
## Query by Partition Key
|
|
34
|
+
|
|
35
|
+
Query is the most efficient way to retrieve items:
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
# Simple partition key query
|
|
39
|
+
aws_dynamodb_query --tableName "MyTable" \
|
|
40
|
+
--keyConditionExpression "pk = :pk" \
|
|
41
|
+
--expressionAttributeValues '{":pk":{"S":"USER#123"}}'
|
|
42
|
+
|
|
43
|
+
# With sort key condition
|
|
44
|
+
aws_dynamodb_query --tableName "MyTable" \
|
|
45
|
+
--keyConditionExpression "pk = :pk AND begins_with(sk, :prefix)" \
|
|
46
|
+
--expressionAttributeValues '{":pk":{"S":"USER#123"},":prefix":{"S":"ORDER#"}}'
|
|
47
|
+
|
|
48
|
+
# Query GSI
|
|
49
|
+
aws_dynamodb_query --tableName "MyTable" --indexName "gsi1" \
|
|
50
|
+
--keyConditionExpression "gsi1pk = :status" \
|
|
51
|
+
--expressionAttributeValues '{":status":{"S":"ORDER#pending"}}'
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Get Single Item
|
|
55
|
+
|
|
56
|
+
Retrieve a specific item by its full primary key:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
# Simple key
|
|
60
|
+
aws_dynamodb_get_item --tableName "MyTable" \
|
|
61
|
+
--key '{"pk":{"S":"USER#123"}}'
|
|
62
|
+
|
|
63
|
+
# Composite key (partition + sort)
|
|
64
|
+
aws_dynamodb_get_item --tableName "MyTable" \
|
|
65
|
+
--key '{"pk":{"S":"USER#123"},"sk":{"S":"PROFILE"}}'
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Scan Table
|
|
69
|
+
|
|
70
|
+
Full table scan - use sparingly on large tables:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
# Scan all items
|
|
74
|
+
aws_dynamodb_scan --tableName "MyTable"
|
|
75
|
+
|
|
76
|
+
# With filter (applied after scan, not efficient for filtering)
|
|
77
|
+
aws_dynamodb_scan --tableName "MyTable" \
|
|
78
|
+
--filterExpression "status = :status" \
|
|
79
|
+
--expressionAttributeValues '{":status":{"S":"active"}}'
|
|
80
|
+
|
|
81
|
+
# Limit results
|
|
82
|
+
aws_dynamodb_scan --tableName "MyTable" --limit 10
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## DynamoDB Attribute Format
|
|
86
|
+
|
|
87
|
+
All values use DynamoDB's attribute value format:
|
|
88
|
+
|
|
89
|
+
| Type | Format | Example |
|
|
90
|
+
|------|--------|---------|
|
|
91
|
+
| String | `{"S": "value"}` | `{"S": "USER#123"}` |
|
|
92
|
+
| Number | `{"N": "123"}` | `{"N": "99.99"}` |
|
|
93
|
+
| Boolean | `{"BOOL": true}` | `{"BOOL": false}` |
|
|
94
|
+
| List | `{"L": [...]}` | `{"L": [{"S": "a"}, {"S": "b"}]}` |
|
|
95
|
+
| Map | `{"M": {...}}` | `{"M": {"name": {"S": "John"}}}` |
|
|
96
|
+
| Null | `{"NULL": true}` | `{"NULL": true}` |
|
|
97
|
+
|
|
98
|
+
## Common Patterns
|
|
99
|
+
|
|
100
|
+
### Get User Profile
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
aws_dynamodb_get_item --tableName "DataTable" \
|
|
104
|
+
--key '{"pk":{"S":"USER#123"},"sk":{"S":"PROFILE"}}'
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### List User Orders
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
aws_dynamodb_query --tableName "DataTable" \
|
|
111
|
+
--keyConditionExpression "pk = :pk AND begins_with(sk, :prefix)" \
|
|
112
|
+
--expressionAttributeValues '{":pk":{"S":"USER#123"},":prefix":{"S":"ORDER#"}}'
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Find Pending Orders (via GSI)
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
aws_dynamodb_query --tableName "DataTable" --indexName "gsi1" \
|
|
119
|
+
--keyConditionExpression "gsi1pk = :status" \
|
|
120
|
+
--expressionAttributeValues '{":status":{"S":"ORDER#pending"}}'
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Check Table Schema
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
aws_dynamodb_describe_table --tableName "DataTable"
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Profile and Region
|
|
130
|
+
|
|
131
|
+
All DynamoDB tools support profile and region flags:
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
aws_dynamodb_query --tableName "MyTable" \
|
|
135
|
+
--profile production \
|
|
136
|
+
--region us-west-2 \
|
|
137
|
+
--keyConditionExpression "pk = :pk" \
|
|
138
|
+
--expressionAttributeValues '{":pk":{"S":"USER#123"}}'
|
|
139
|
+
```
|
|
140
|
+
|
package/skills/tools.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Available MCP tools reference
|
|
3
|
-
related: aws, datadog, debugging
|
|
3
|
+
related: tools-aws, tools-dynamodb, tools-datadog, debugging
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# MCP Tools Reference
|
|
@@ -28,16 +28,25 @@ skill("tests") # Testing patterns
|
|
|
28
28
|
|
|
29
29
|
## AWS Tools
|
|
30
30
|
|
|
31
|
+
Tools for Lambda, S3, SQS, CloudWatch Logs, Step Functions, and CloudFormation.
|
|
32
|
+
|
|
33
|
+
See **tools-aws** for complete documentation.
|
|
34
|
+
|
|
31
35
|
| Tool | Description |
|
|
32
36
|
|------|-------------|
|
|
33
37
|
| `aws_list_profiles` | List AWS profiles from ~/.aws |
|
|
34
|
-
| `
|
|
35
|
-
| `
|
|
36
|
-
| `
|
|
37
|
-
| `
|
|
38
|
-
| `
|
|
38
|
+
| `aws_lambda_*` | Lambda function management |
|
|
39
|
+
| `aws_logs_*` | CloudWatch Logs search |
|
|
40
|
+
| `aws_s3_*` | S3 bucket operations |
|
|
41
|
+
| `aws_sqs_*` | SQS queue operations |
|
|
42
|
+
| `aws_stepfunctions_*` | Step Functions management |
|
|
43
|
+
| `aws_cloudformation_*` | CloudFormation stack details |
|
|
44
|
+
|
|
45
|
+
## DynamoDB Tools
|
|
46
|
+
|
|
47
|
+
Tools for querying, scanning, and inspecting DynamoDB tables.
|
|
39
48
|
|
|
40
|
-
|
|
49
|
+
See **tools-dynamodb** for complete documentation.
|
|
41
50
|
|
|
42
51
|
| Tool | Description |
|
|
43
52
|
|------|-------------|
|
|
@@ -46,23 +55,11 @@ skill("tests") # Testing patterns
|
|
|
46
55
|
| `aws_dynamodb_scan` | Full table scan |
|
|
47
56
|
| `aws_dynamodb_get_item` | Get single item |
|
|
48
57
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
| Tool | Description |
|
|
52
|
-
|------|-------------|
|
|
53
|
-
| `aws_sqs_list_queues` | List SQS queues |
|
|
54
|
-
| `aws_sqs_get_queue_attributes` | Get queue attributes |
|
|
55
|
-
| `aws_sqs_receive_message` | Peek at messages |
|
|
56
|
-
| `aws_sqs_purge_queue` | Delete all messages |
|
|
57
|
-
|
|
58
|
-
### Step Functions
|
|
58
|
+
## Datadog Tools
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|------|-------------|
|
|
62
|
-
| `aws_stepfunctions_list_executions` | List state machine executions |
|
|
63
|
-
| `aws_stepfunctions_stop_execution` | Stop running execution |
|
|
60
|
+
Tools for logs, monitors, metrics, synthetics, and RUM.
|
|
64
61
|
|
|
65
|
-
|
|
62
|
+
See **tools-datadog** for complete documentation.
|
|
66
63
|
|
|
67
64
|
| Tool | Description |
|
|
68
65
|
|------|-------------|
|
|
@@ -93,35 +90,3 @@ skill("tests") # Testing patterns
|
|
|
93
90
|
- `DD_SERVICE` - Default service filter
|
|
94
91
|
- `DD_SOURCE` - Default log source
|
|
95
92
|
|
|
96
|
-
## Common Patterns
|
|
97
|
-
|
|
98
|
-
### Debug Lambda Issues
|
|
99
|
-
|
|
100
|
-
```
|
|
101
|
-
# Check function config
|
|
102
|
-
aws_lambda_get_function --functionName "my-function"
|
|
103
|
-
|
|
104
|
-
# Search recent logs
|
|
105
|
-
aws_logs_filter_log_events --logGroupName "/aws/lambda/my-function" --filterPattern "ERROR"
|
|
106
|
-
|
|
107
|
-
# Or via Datadog
|
|
108
|
-
datadog_logs --query "service:my-function status:error" --from "now-1h"
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Check Queue Health
|
|
112
|
-
|
|
113
|
-
```
|
|
114
|
-
# Get queue depth
|
|
115
|
-
aws_sqs_get_queue_attributes --queueUrl "https://..."
|
|
116
|
-
|
|
117
|
-
# Peek at messages
|
|
118
|
-
aws_sqs_receive_message --queueUrl "https://..." --maxNumberOfMessages 5
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### Monitor Status
|
|
122
|
-
|
|
123
|
-
```
|
|
124
|
-
# Check alerting monitors
|
|
125
|
-
datadog_monitors --status '["Alert", "Warn"]'
|
|
126
|
-
```
|
|
127
|
-
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Definitions, naming conventions, ontology, and pedantry
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Vocabulary
|
|
6
|
+
|
|
7
|
+
The "Fabric Vocabulary" attempts to reserve words for implied uses and encourages use of reserved words for conforming uses. It also discourages the use of some words, especially `type`.
|
|
8
|
+
|
|
9
|
+
## Definitions
|
|
10
|
+
|
|
11
|
+
## Discouraged Words => Replacements
|
|
12
|
+
|
|
13
|
+
Reserved for future use
|
|
14
|
+
class, type: => category, tags
|
|
15
|
+
|
|
16
|
+
## Fabric Models
|
|
17
|
+
|
|
18
|
+
### Implied Types
|
|
19
|
+
|
|
20
|
+
Plural/not
|
|
21
|
+
Reference is an id, alias, xid
|
|
22
|
+
|
|
23
|
+
## Disclaimer
|
|
24
|
+
|
|
25
|
+
This is subject to change, especially until @jaypie/dynamodb and @jaypie/fabric hit 1.0. Follow release notes.
|