Skip to main content

Welcome to cdk-elasticache-monitor

ElasticacheAutoMonitor allows you to send email, sms, slack, or trigger aws lambda when an alarm occurs. You will get the following monitoring:

  • Cpu Monitor: Should be less than 90%. (See below reference)
  • SwapUsage Monitor: Should be less than 50M.
  • Evictions Monitor: Should not have evictions value.
  • CurrConnections Monitor: According to your business needs, default every 1 vcup is equal to 200 connections.
  • FreeableMemory Monitor: Not less than 10%

Reference: Here

Usage

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
stack = cdk.Stack()

# or sent with sms
ElasticacheAutoMonitor.set_up_with_sms(stack, "my-elasticache-id",
    phones=["+15533728278"],
    node_type_class=NodeType.R4_16XLARGE
)

# or sent with slack
ElasticacheAutoMonitor.set_up_with_slack(stack, "my-elasticache-id",
    web_hook_url="http://xxx.xxx.xxx",
    node_type_class=NodeType.R4_16XLARGE
)

# or trigger lambda
fn = lambda.Function(stack, "MyFunction",
    runtime=lambda.Runtime.NODEJS_10_X,
    handler="index.handler",
    code=lambda.Code.from_inline("exports.handler = function(event, ctx, cb) { return cb(null, \"hi\"); }")
)
ElasticacheAutoMonitor.set_up_with_lambda(stack, "my-elasticache-id", fn,
    node_type_class=NodeType.R4_16XLARGE
)

Metadata

Release files for cdk-elasticache-monitor 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-elasticache-monitor 0.0.13
File Size Uploaded Provenance Actions
cdk-elasticache-monitor-0.0.13.tar.gz 32.1 kB Without provenance Details for cdk-elasticache-monitor-0.0.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cdk-elasticache-monitor 0.0.13
File Interpreter ABI Platform Actions
cdk_elasticache_monitor-0.0.13-py3-none-any.whl Python 3 none any Details for cdk_elasticache_monitor-0.0.13-py3-none-any.whl

Total release size: 63.2 kB

Release files / cdk-elasticache-monitor-0.0.13.tar.gz

Download URL cdk-elasticache-monitor-0.0.13.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
46c63b29b8cd98cd48b04e3389af2b601b7bca57c3333f98be22eab4162d84a9
BLAKE2b-256 checksum
How to use checksums
9bfda3fbdb486191640652163a2cc0672fd006ec599545445d096d4b61694ef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

Release files / cdk_elasticache_monitor-0.0.13-py3-none-any.whl

Download URL cdk_elasticache_monitor-0.0.13-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13c276a5c90ab4a2cd6ca8ba5e68a2536c7a861c8241324cfae8ed784617cf09
BLAKE2b-256 checksum
How to use checksums
0b5e6a79438562783a0d8fdfb92fcaf40b19df277c41d1b18867e3f21e42676e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

Security for cdk-elasticache-monitor 0.0.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page