mackerel-plugin-aws-lambda

command
v0.80.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

mackerel-plugin-aws-lambda

AWS Lambda custom metrics plugin for mackerel.io agent.

Synopsis

mackerel-plugin-aws-lambda [-function-name=<function-name>] -region=<aws-region> -access-key-id=<id> -secret-access-key=<key> [-tempfile=<tempfile>] [-metric-key-prefix=<prefix>]
  • If function-name is supplied, collect data from specified Lambda function.
    • If not, whole Lambda stastics in the region is collected.
  • you can set some parameters by environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION.
    • If both of those environment variables and command line parameters are passed, command line parameters are used.
  • You may omit region parameter if you're running this plugin on an EC2 instance running in same region with the target Lambda function

Example of mackerel-agent.conf

[plugin.metrics.aws-lambda]
command = "/path/to/mackerel-plugin-aws-lambda -function-name=MyFunc -region=ap-northeast-1"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL