(k, v string)
| 358 | } |
| 359 | |
| 360 | func (i *InvokeMetrics) SetLabel(k, v string) { |
| 361 | if _, ok := i.allLabels[k]; !ok { |
| 362 | // TODO: err handler? |
| 363 | // not support label |
| 364 | return |
| 365 | } |
| 366 | |
| 367 | i.allLabels[k] = v |
| 368 | } |
| 369 | |
| 370 | func (i *InvokeMetrics) StepStart(stage metricStage) error { |
| 371 | if stage > StageInvocation { |
no outgoing calls
no test coverage detected