@@ -63,7 +63,7 @@ func TestTransform(t *testing.T) {
6363 Output : []common.MapStr {
6464 {
6565 "data_stream.type" : "metrics" ,
66- "data_stream.dataset" : "apm.app" ,
66+ "data_stream.dataset" : "apm.app.myservice " ,
6767 "processor" : common.MapStr {"event" : "metric" , "name" : "metric" },
6868 "service" : common.MapStr {
6969 "name" : "myservice" ,
@@ -91,7 +91,7 @@ func TestTransform(t *testing.T) {
9191 Output : []common.MapStr {
9292 {
9393 "data_stream.type" : "metrics" ,
94- "data_stream.dataset" : "apm.app" ,
94+ "data_stream.dataset" : "apm.app.myservice " ,
9595 "processor" : common.MapStr {"event" : "metric" , "name" : "metric" },
9696 "service" : common.MapStr {"name" : "myservice" },
9797 "labels" : common.MapStr {"a_b" : "a.b.value" },
@@ -116,7 +116,7 @@ func TestTransform(t *testing.T) {
116116 Output : []common.MapStr {
117117 {
118118 "data_stream.type" : "metrics" ,
119- "data_stream.dataset" : "apm.internal" ,
119+ "data_stream.dataset" : "apm.internal.myservice " ,
120120 "processor" : common.MapStr {"event" : "metric" , "name" : "metric" },
121121 "service" : common.MapStr {"name" : "myservice" },
122122 "transaction" : common.MapStr {"type" : trType , "name" : trName },
@@ -154,7 +154,7 @@ func TestTransform(t *testing.T) {
154154 Output : []common.MapStr {
155155 {
156156 "data_stream.type" : "metrics" ,
157- "data_stream.dataset" : "apm.internal" ,
157+ "data_stream.dataset" : "apm.internal.myservice " ,
158158 "processor" : common.MapStr {"event" : "metric" , "name" : "metric" },
159159 "service" : common.MapStr {"name" : "myservice" },
160160 "event" : common.MapStr {"outcome" : eventOutcome },
@@ -197,7 +197,7 @@ func TestTransform(t *testing.T) {
197197 Output : []common.MapStr {
198198 {
199199 "data_stream.type" : "metrics" ,
200- "data_stream.dataset" : "apm.internal" ,
200+ "data_stream.dataset" : "apm.internal.myservice " ,
201201 "processor" : common.MapStr {"event" : "metric" , "name" : "metric" },
202202 "service" : common.MapStr {"name" : "myservice" },
203203 "span" : common.MapStr {"type" : spType , "subtype" : spSubtype ,
0 commit comments