Commit 13bef19
authored
feat(rust): Set url.template in RequestOptions (#2248)
Modifies the transport.rs.mustache template to call
google_cloud_gax::options::internal::set_path_template() for each
binding.
This provides the url.template attribute for OpenTelemetry spans. See
#2212 and googleapis/google-cloud-rust#3346 and googleapis/google-cloud-rust#3368
Tested with #22471 parent 4d3c118 commit 13bef19
File tree
1 file changed
+4
-2
lines changed- internal/sidekick/internal/rust/templates/crate/src
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
0 commit comments