Skip to content

Commit

Permalink
Add minimal plugin for backend observability (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuali925 authored Oct 19, 2021
1 parent a5e92f3 commit 796be2e
Show file tree
Hide file tree
Showing 31 changed files with 3,423 additions and 0 deletions.
40 changes: 40 additions & 0 deletions opensearch-observability/.codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
##
# SPDX-License-Identifier: Apache-2.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
# compatible open source license.
#
# Modifications Copyright OpenSearch Contributors. See
# GitHub history for details.
##

##
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license" file accompanying this file. This file is distributed
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.
#
##

codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: 70% # the required coverage value
threshold: 1% # the leniency in hitting the target
38 changes: 38 additions & 0 deletions opensearch-observability/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
##
# SPDX-License-Identifier: Apache-2.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
# compatible open source license.
#
# Modifications Copyright OpenSearch Contributors. See
# GitHub history for details.
##

##
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License").
# You may not use this file except in compliance with the License.
# A copy of the License is located at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license" file accompanying this file. This file is distributed
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.
#
##

# config for Pinterest ktlint. https://github.com/pinterest/ktlint

root = true

[*.{kt,kts}]
# possible values: number (e.g. 2), "unset" (makes ktlint ignore indentation completely)
indent_size=4

# we have detekt also checking for max line length. Disable the linter and use only one tool to check for max line length.
# See https://github.com/arturbosch/detekt
max_line_length=off
Loading

0 comments on commit 796be2e

Please sign in to comment.