Skip to content

Conversation

@agithomas
Copy link
Contributor

@agithomas agithomas commented Jun 7, 2025

  • Enhancement

Proposed commit message

Add AWS Lambda logs overview dashboard

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • Package upgrade testing
  • Integration test

How to test this PR locally

  • elastic-package build && elastic-package stack up -v -d --services package-registry

Related issues

#14070

Screenshots

Metrics overview dashboard

metricbeat-aws-lambda-overview

Log overview dashboard

filebeat-aws-lambda-overview

@agithomas agithomas self-assigned this Jun 7, 2025
@agithomas agithomas added dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] Integration:aws AWS labels Jun 7, 2025
@agithomas agithomas requested a review from daniela-elastic June 7, 2025 08:20
@agithomas agithomas marked this pull request as ready for review June 7, 2025 08:21
@agithomas agithomas requested review from a team as code owners June 7, 2025 08:21
@agithomas agithomas changed the title AWS Lambda add lambda logs overview dashboard [AWS Lambda] Add lambda logs overview dashboard Jun 7, 2025
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

Copy link

@daniela-elastic daniela-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the dashboard to the existing AWS dashboard as a link panel so customers can have all Lambda signals in one place

@agithomas
Copy link
Contributor Author

Can we add the dashboard to the existing AWS dashboard as a link panel so customers can have all Lambda signals in one place

@daniela-elastic , The above-mentioned suggested changes are applied. I have updated the screenshots. Please take a look.

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @agithomas

@muthu-mps
Copy link
Contributor

  1. Lambda Event Source Mapping Metrics - Can we make the description in the 'i' icon? If its not possible then I would recommend to have one line description.
  2. The metrics panel title case doesn't match with the logs panel. Can we update it?
  3. Average memory allocated and used. Shouldn't this panel have Total memory allocated and used instead of average? If we decide to keep average memory here, then the other chart Memory Allocated vs Memory used, Is this average or total?
  4. Init duration vs duration vs Billed duration. What is the actual metrics for Duration? Is this include the complete duration or something different?
Screenshot 2025-06-09 at 6 42 14 AM Screenshot 2025-06-09 at 6 43 58 AM
@muthu-mps
Copy link
Contributor

To improve clarity, we may want to rename the dashboard titles. The metrics overview dashboard is missing a high-level summary, and the logs overview includes a summary that references both metrics and logs, which is confusing. We should consider renaming the panels to make them more generic

@agithomas
Copy link
Contributor Author

Lambda Event Source Mapping Metrics - Can we make the description in the 'i' icon? If its not possible then I would recommend to have one line description.
The metrics panel title case doesn't match with the logs panel. Can we update it?

These are beyond the scope of this PR. I will create a separate ER issue mentioning your suggestions.

Average memory allocated and used. Shouldn't this panel have Total memory allocated and used instead of average? If we decide to keep average memory here, then the other chart Memory Allocated vs Memory used, Is this average or total?

Are you referring to using sum() aggregation instead of average()? Given a timeseries, average() memory utilisation may be more preferred

Init duration vs duration vs Billed duration. What is the actual metrics for Duration? Is this include the complete duration or something different?

As you could see in the screenshot, it uses timeseries in the horizontal axis. The value in a specific timeslice / datapoint is average-ed and displayed.

Is your suggestion replacing Memory allocated vs memory used as Average memory allocated vs memory used?

If yes, do you also consider substituting Memory allocated vs memory used also as Average memory allocated vs memory used ?

The metrics overview dashboard is missing a high-level summary

This is not part of the scope of this PR. I will add this point to a spearate ER

logs overview includes a summary that references both metrics and logs

This is true. Each invocation of a Lambda function publishes a “REPORT” log entry at the end of the invocation. The entry provides details about the actual duration, billed duration, and amount of memory used and these comes under the metrics category and are the ones that are displayed under the Logs overview dashboard.

@agithomas
Copy link
Contributor Author

@muthu-mps, please find the ER issue created to track the dashboard improvement suggestions you shared.

@muthu-mps
Copy link
Contributor

@muthu-mps, please find the ER issue created to track the dashboard improvement suggestions you shared.

Thanks @agithomas!

@muthu-mps
Copy link
Contributor

muthu-mps commented Jun 9, 2025

Average memory allocated and used. Shouldn't this panel have Total memory allocated and used instead of average? If we decide to keep average memory here, then the other chart Memory Allocated vs Memory used, Is this average or total?

Are you referring to using sum() aggregation instead of average()? Given a timeseries, average() memory utilisation may be more preferred

No

Is your suggestion replacing Memory allocated vs memory used as Average memory allocated vs memory used?

Yes, WDYT?

Init duration vs duration vs Billed duration. What is the actual metrics for Duration? Is this include the complete duration or something different?

As you could see in the screenshot, it uses timeseries in the horizontal axis. The value in a specific timeslice / datapoint is average-ed and displayed.

I am looking into the metric name, As we have 3 different duration values, I hope the duration is not overall duration.

  • Init Duration
  • Duration (Is this relates to a specific operation or simple duration?)
  • Billed Duration
@andrewkroh andrewkroh added the Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] label Jun 9, 2025
Copy link
Contributor

@muthu-mps muthu-mps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we stick not to change the names for the memory panels. Change looks good!

@agithomas agithomas merged commit 6659e55 into elastic:main Jun 12, 2025
7 checks passed
@elastic-vault-github-plugin-prod

Package aws - 3.7.0 containing this change is available at https://epr.elastic.co/package/aws/3.7.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Integration:aws AWS Team:obs-ds-hosted-services Observability Hosted Services team [elastic/obs-ds-hosted-services] Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

6 participants