Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
@opentelemetry/resource-detector-aws
Advanced tools
component owners: @willarmiros @NathanielRN
Resource detector for Amazon Web Services.
Compatible with OpenTelemetry JS API and SDK 1.0+
.
npm install --save @opentelemetry/resource-detector-aws
import { detectResources } from '@opentelemetry/resources';
import { awsEc2Detector } from '@opentelemetry/resource-detector-aws'
const resource = await detectResources({
detectors: [awsEc2Detector],
})
const tracerProvider = new NodeTracerProvider({ resource });
awsBeanstalkDetector
: Populates service
for processes running on AWS Elastic BeanstalkawsEc2Detector
: Populates cloud
and host
for processes running on Amazon EC2, including abstractions such as ECS on EC2. Notably, it does not populate anything on AWS FargateawsEcsDetector
: Populates container
for containers running on Amazon ECSawsEksDetector
: Populates container
and k8s.cluster_name
for containers running on Amazon EKS
k8s.cluster_name
is not always available depending on the configuration of CloudWatch monitoring for the EKS clusterawsLambdaDetector
: Populates faas
and cloud
for functions running on AWS Lambda
faas.id
is currently not populated as it is not provided by the runtime at startupApache 2.0 - See LICENSE for more information.
FAQs
OpenTelemetry SDK resource detector for AWS
The npm package @opentelemetry/resource-detector-aws receives a total of 774,175 weekly downloads. As such, @opentelemetry/resource-detector-aws popularity was classified as popular.
We found that @opentelemetry/resource-detector-aws demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.