
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
@serverless/dashboard-plugin
Advanced tools
@serverless/dashboard-plugin is a plugin for the Serverless Framework that provides enhanced monitoring, troubleshooting, and management capabilities for serverless applications. It integrates with the Serverless Dashboard to offer real-time insights, alerts, and deployment tracking.
Monitoring and Alerts
This feature allows you to set up monitoring and alerts for your serverless applications. The code sample demonstrates how to configure an alert for a high error rate.
module.exports = {
service: 'my-service',
frameworkVersion: '2',
plugins: ['@serverless/dashboard-plugin'],
custom: {
dashboard: {
org: 'my-org',
app: 'my-app',
alerts: [
{
name: 'High Error Rate',
conditions: {
errorRate: {
threshold: 5,
period: 300
}
}
}
]
}
}
};
Deployment Tracking
This feature provides deployment tracking capabilities, allowing you to monitor the status and history of your deployments. The code sample shows the basic configuration needed to enable deployment tracking.
module.exports = {
service: 'my-service',
frameworkVersion: '2',
plugins: ['@serverless/dashboard-plugin'],
custom: {
dashboard: {
org: 'my-org',
app: 'my-app'
}
}
};
Real-time Insights
This feature offers real-time insights into the performance and health of your serverless applications. The code sample demonstrates the basic setup to enable real-time insights.
module.exports = {
service: 'my-service',
frameworkVersion: '2',
plugins: ['@serverless/dashboard-plugin'],
custom: {
dashboard: {
org: 'my-org',
app: 'my-app'
}
}
};
The serverless-plugin-datadog package integrates Datadog with the Serverless Framework, providing monitoring, logging, and alerting capabilities. Compared to @serverless/dashboard-plugin, it offers more advanced integrations with Datadog's suite of tools but requires a Datadog account.
The serverless-newrelic-lambda-layers package integrates New Relic with the Serverless Framework, offering monitoring and observability for AWS Lambda functions. It provides similar functionalities to @serverless/dashboard-plugin but focuses on New Relic's observability platform.
The serverless-plugin-splunk package integrates Splunk with the Serverless Framework, enabling logging and monitoring for serverless applications. It offers similar capabilities to @serverless/dashboard-plugin but leverages Splunk's logging and monitoring services.
To enable the various features of the Serverless Framework Dashboard for a particular Service you must deploy or redeploy that Service, using Serverless Framework open-source CLI version 1.45.1 or later.
Upon deployment, the Serverless Framwork Enteprise Plugin will automatically wrap and instrument your functions to work with the Serverless Framework Dashboard dashboard.
npm i
cd sdk-js
npm i
npm run build
cd -
npm t
cd sdk-js
npm t
cd -
For integration tests run you need an access to integration
dashboard organization, and generated for it access key.
Then tests can be run as:
SERVERLESS_ACCESS_KEY=xxx npm run integration-test
package.json
FAQs
The Serverless Dashboard plugin
The npm package @serverless/dashboard-plugin receives a total of 845,666 weekly downloads. As such, @serverless/dashboard-plugin popularity was classified as popular.
We found that @serverless/dashboard-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.