Skip to content

Commit 2d9b4b4

Browse files
authored
refactor: Updated transformation rules to remove the bespoke rule to appease @google-cloud/pubsub < 5.1.0 (newrelic#3151)
1 parent 961975b commit 2d9b4b4

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

lib/otel/transformation-rules.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -972,39 +972,6 @@
972972
}
973973
}
974974
},
975-
{
976-
"name": "Producer_1_24_GCP",
977-
"type": "producer",
978-
"matcher": {
979-
"required_span_kinds": [
980-
"producer"
981-
],
982-
"required_attribute_keys": [
983-
"messaging.system",
984-
"messaging.destination.name"
985-
],
986-
"attribute_conditions": {
987-
"messaging.system": ["gcp_pubsub"]
988-
}
989-
},
990-
"attributes": [
991-
{
992-
"key": "server.address",
993-
"target": "segment",
994-
"name": "host"
995-
},
996-
{
997-
"key": "server.port",
998-
"target": "segment",
999-
"name": "port"
1000-
}
1001-
],
1002-
"segment": {
1003-
"name": {
1004-
"template": "MessageBroker/${messaging.system}/${messaging.operation}/Produce/Named/${messaging.destination.name}"
1005-
}
1006-
}
1007-
},
1008975
{
1009976
"name": "Producer_1_30",
1010977
"type": "producer",

0 commit comments

Comments
 (0)