@@ -163,7 +163,7 @@ class Output {
163
163
const inputs : ProviderUtilInputs = { envs, args } ;
164
164
165
165
const provider = await startSpan (
166
- { name : "detectProvider" , scope : this . sentryScope } ,
166
+ { name : "output.write. detectProvider" , scope : this . sentryScope } ,
167
167
async ( ) => {
168
168
let detectedProvider ;
169
169
try {
@@ -202,12 +202,24 @@ class Output {
202
202
if ( ! provider ) return ;
203
203
204
204
if ( this . sentryScope ) {
205
- this . sentryScope . setTag ( "provider.service" , provider . service ) ;
205
+ this . sentryScope . setTag ( "service" , provider . service ) ;
206
+
207
+ const slug = provider . slug ?? "" ;
208
+ const repoIndex = slug . lastIndexOf ( "/" ) + 1 ;
209
+ const owner = slug . substring ( 0 , repoIndex ) . trimEnd ( ) ;
210
+ if ( owner . length > 0 ) {
211
+ this . sentryScope . setTag ( "owner" , owner ) ;
212
+ }
213
+
214
+ const repo = slug . substring ( repoIndex , slug . length ) ;
215
+ if ( repo . length > 0 ) {
216
+ this . sentryScope . setTag ( "repo" , repo ) ;
217
+ }
206
218
}
207
219
208
220
let url = "" ;
209
221
await startSpan (
210
- { name : "getPreSignedURL" , scope : this . sentryScope } ,
222
+ { name : "output.write. getPreSignedURL" , scope : this . sentryScope } ,
211
223
async ( ) => {
212
224
try {
213
225
url = await getPreSignedURL ( {
@@ -248,7 +260,7 @@ class Output {
248
260
) ;
249
261
250
262
await startSpan (
251
- { name : "uploadStats" , scope : this . sentryScope } ,
263
+ { name : "output.write. uploadStats" , scope : this . sentryScope } ,
252
264
async ( ) => {
253
265
try {
254
266
await uploadStats ( {
0 commit comments