-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[chore][processor/transform]: use pmetrictest library for comparing metrics in unit tests #34338
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
requested review from
bogdandrutu,
evan-bradley,
kentquirk and
TylerHelmuth
July 31, 2024 06:25
odubajDT
force-pushed
the
test-aggregate-fix
branch
from
July 31, 2024 06:44
e18eba1
to
9e3a1f8
Compare
odubajDT
changed the title
[chore]: use reflect.DeepEqual() for map comparison in tests
[chore]: order map keys containing datapoints before merging for aggregation
Jul 31, 2024
odubajDT
commented
Jul 31, 2024
…icsOption Signed-off-by: odubajDT <[email protected]>
odubajDT
force-pushed
the
test-aggregate-fix
branch
from
August 1, 2024 07:37
fc08c1a
to
097a482
Compare
odubajDT
requested review from
djaglowski,
dashpole,
codeboten,
dmitryax,
crobert-1,
atoulme,
MovieStoreGuy,
andrzej-stencel,
jpkrohling,
fatsheep9146,
mx-psi and
songy23
as code owners
August 1, 2024 07:37
odubajDT
changed the title
[chore]: order map keys containing datapoints before merging for aggregation
[chore]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption
Aug 1, 2024
Signed-off-by: odubajDT <[email protected]>
odubajDT
force-pushed
the
test-aggregate-fix
branch
from
August 1, 2024 07:58
4df9dc1
to
95757f0
Compare
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
odubajDT
changed the title
[chore]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption
[chore][pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption
Aug 1, 2024
evan-bradley
reviewed
Aug 1, 2024
odubajDT
changed the title
[chore][pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption
[pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption
Aug 2, 2024
Signed-off-by: odubajDT <[email protected]>
odubajDT
changed the title
[pkg/pdatatest]: introduce IgnoreDatapointsOrder into pmetrictest.CompareMetricsOption
[chore][processor/transform]: use pmetrictest library for comparing metrics in unit tests
Aug 2, 2024
evan-bradley
approved these changes
Aug 6, 2024
@TylerHelmuth can you have a look please ? |
@TylerHelmuth This one is pretty minor, so I'm going to merge by ~12:00 EDT unless you have any feedback. |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cmd/oteltestbedcol
connector/count
connector/datadog
connector/servicegraph
exporter/datadog
Datadog components
exporter/elasticsearch
exporter/loadbalancing
exporter/opencensus
exporter/signalfx
internal/core
internal/exp/metrics
pkg/pdatatest
pkg/translator/opencensus
pkg/translator/signalfx
processor/attributes
Attributes processor
processor/deltatocumulative
processor/geoip
processor/interval
processor/metricstransform
Metrics Transform processor
processor/resource
Resource processor
processor/transform
Transform processor
receiver/activedirectoryds
receiver/aerospike
receiver/apache
receiver/apachespark
receiver/azuremonitor
receiver/bigip
receiver/collectd
receiver/couchdb
receiver/dockerstats
receiver/elasticsearch
receiver/expvar
receiver/filestats
receiver/flinkmetrics
receiver/gitprovider
receiver/haproxy
receiver/hostmetrics
receiver/httpcheck
HTTP Check receiver
receiver/iis
receiver/jmx
JMX Receiver
receiver/k8scluster
receiver/kubeletstats
receiver/memcached
receiver/mongodb
receiver/mysql
receiver/nginx
receiver/nsxt
NSXT Receiver
receiver/opencensus
receiver/postgresql
receiver/rabbitmq
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Link to tracking Issue: #34297