File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
3333
3434const (
3535 testDataDir = "testdata"
36- nodeID = "5245ra617433bd "
36+ maskValue = "xyz "
3737)
3838
3939func TestWeaviateDockerObserver (t * testing.T ) {
@@ -85,7 +85,8 @@ func TestWeaviateDockerObserver(t *testing.T) {
8585 pmetrictest .IgnoreMetricAttributeValue ("service_version" ),
8686 pmetrictest .IgnoreMetricAttributeValue ("service_instance_id" ),
8787 pmetrictest .IgnoreResourceAttributeValue ("server.address" ),
88- pmetrictest .ChangeDatapointAttributeValue ("nodeID" , func (string ) string { return nodeID }),
88+ pmetrictest .ChangeDatapointAttributeValue ("nodeID" , func (string ) string { return maskValue }),
89+ pmetrictest .ChangeDatapointAttributeValue ("goarch" , func (string ) string { return maskValue }),
8990 pmetrictest .IgnoreTimestamp (),
9091 pmetrictest .IgnoreStartTimestamp (),
9192 pmetrictest .IgnoreMetricDataPointsOrder (),
You can’t perform that action at this time.
0 commit comments