Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CloudWatch Metrics Sink Addition #173

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

vmmusings
Copy link
Member

@vmmusings vmmusings commented Nov 22, 2023

Description

  1. Spark Metrics System.

metrics1

  1. Usage of above cloudwatch Metric Sink.

Add below configuration to metrics.properties or to spark configuration while submitting applicaton.

spark.metrics.conf.*.sink.cloudwatch.class=org.apache.spark.metrics.sink.CloudWatchSink
spark.metrics.conf.*.sink.cloudwatch.namespace=<Your CloudWatch metrics Namespace>
spark.metrics.conf.*.sink.cloudwatch.pollingPeriod=<Optional polling period value, defaults to 1>
spark.metrics.conf.*.sink.cloudwatch.pollingTimeUnit=<Optional polling period unit, defaults to MINUTES>
spark.metrics.conf.*.sink.cloudwatch.awsAccessKeyId=<Optional aws access key, uses DefaultAWSCredentialsProviderChain by default>
spark.metrics.conf.*.sink.cloudwatch.awsSecretKey=<Optional aws secret key, uses DefaultAWSCredentialsProviderChain by default>
spark.metrics.conf.*.sink.cloudwatch.awsRegion=<Optional aws region, uses DefaultAwsRegionProviderChain by default>
spark.metrics.conf.*.sink.cloudwatch.shouldParseInlineDimensions=<Optional true|false setting, defaults to false>

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@vmmusings vmmusings force-pushed the main branch 2 times, most recently from b9694d2 to 247874d Compare November 22, 2023 01:49
@vmmusings vmmusings self-assigned this Nov 22, 2023
@vmmusings vmmusings added the enhancement New feature or request label Nov 22, 2023
Signed-off-by: Vamsi Manohar <[email protected]>
@vmmusings vmmusings merged commit e7f4c73 into opensearch-project:main Nov 22, 2023
4 checks passed
@penghuo penghuo mentioned this pull request Dec 7, 2023
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants