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

[Backport 0.6] Add metrics for successful/failed Spark index creation #917

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 6f37b2d from #837.

* Add index creation metrics

Signed-off-by: Simeon Widdis <[email protected]>

* Update emit metric function location

Signed-off-by: Simeon Widdis <[email protected]>

* Apply scalafmt

Signed-off-by: Simeon Widdis <[email protected]>

* revert FlintSparkIndexFactory metrics emission

Signed-off-by: Simeon Widdis <[email protected]>

* Update OS client to emit metrics

Signed-off-by: Simeon Widdis <[email protected]>

* Fix index kind detection

Signed-off-by: Simeon Widdis <[email protected]>

* Remove cumbersome with() method

Signed-off-by: Simeon Widdis <[email protected]>

* Revert the void change

Signed-off-by: Simeon Widdis <[email protected]>

* Make the code branchless

Signed-off-by: Simeon Widdis <[email protected]>

* Add default case to switches

Signed-off-by: Simeon Widdis <[email protected]>

* Apply PR feedback

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 6f37b2d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@ykmr1224 ykmr1224 merged commit 2a78109 into 0.6 Nov 15, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant