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

[exporter/elasticsearch] Add summary support for metrics #34560

Merged
merged 5 commits into from
Aug 12, 2024

Conversation

carsonip
Copy link
Contributor

@carsonip carsonip commented Aug 9, 2024

Description:

Add summary support for metrics

Link to tracking Issue:

Testing:
Added exporter test

Documentation:

@carsonip carsonip marked this pull request as ready for review August 9, 2024 09:58
@carsonip carsonip requested review from a team and MovieStoreGuy August 9, 2024 09:58
Copy link
Member

@lahsivjar lahsivjar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! A few minor comments.

exporter/elasticsearchexporter/model.go Outdated Show resolved Hide resolved
exporter/elasticsearchexporter/exporter.go Outdated Show resolved Hide resolved
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a couple of checks are failing:

Error: elasticsearchexporter/utils_test.go:39:69: `assertItemsEqual` - `assertOrder` always receives `false` (unparam)
level=info msg="[runner] linters took 16.095711067s with stages: goanalysis_metalinter: 16.088054729s"
level=info msg="File cache stats: 24 entries of total size 218.1KiB"
func assertItemsEqual(t *testing.T, expected, actual []itemRequest, assertOrder bool) {

@carsonip
Copy link
Contributor Author

@codeboten It should be fixed in an earlier PR #34471. Merge main and rerunning checks now.

@codeboten codeboten merged commit dd0aed1 into open-telemetry:main Aug 12, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 12, 2024
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
…try#34560)

Add summary support for metrics

Added exporter test

Fixes open-telemetry#34561

---------

Co-authored-by: Sean Marciniak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants