Buildkite-agent-metrics not woking in lambda anymore

one of my teammate tried to upgrade GitHub - buildkite/buildkite-agent-metrics: A command-line tool (and Lambda) for collecting Buildkite agent metrics from 2.0.2 to 4.0 and he discovered that is not working.

Unable to import module 'handler': No module named handler

he opened an issue v4.0.0 no longer working in lambda? · Issue #64 · buildkite/buildkite-agent-metrics · GitHub

anyone else having the same issue?

Sorry about that @eredi93! We will investigate.

Thank you! it would be great if you could add a CHANGELOG and give an update for every release. that should make discovering what changed a bit easier

We’ve added a [CHANGELOG](https://github.com/buildkite/buildkite-agent-metrics/blob/master/CHANGELOG.md) and updated the docs to reflect the handler and environment change! https://github.com/buildkite/buildkite-agent-metrics#running-as-an-aws-lambda

thank you for looking into this :heart:

1 Like