|
40 | 40 | ctname = mustBeScalarString(ctname); |
41 | 41 | % cpp-opentelemetry end does not allow string input with spaces, |
42 | 42 | % replace any spaces with underscores as a temporary fix |
43 | | - ctname = strrep(ctname, ' ', '_'); |
44 | 43 | ctdescription = mustBeScalarString(ctdescription); |
45 | 44 | ctunit = mustBeScalarString(ctunit); |
46 | 45 | id = obj.Proxy.createCounter(ctname, ctdescription, ctunit); |
|
62 | 61 | ctname = mustBeScalarString(ctname); |
63 | 62 | % cpp-opentelemetry end does not allow string input with spaces, |
64 | 63 | % replace any spaces with underscores as a temporary fix |
65 | | - ctname = strrep(ctname, ' ', '_'); |
66 | 64 | ctdescription = mustBeScalarString(ctdescription); |
67 | 65 | ctunit = mustBeScalarString(ctunit); |
68 | 66 | id = obj.Proxy.createUpDownCounter(ctname, ctdescription, ctunit); |
|
84 | 82 | hiname = mustBeScalarString(hiname); |
85 | 83 | % cpp-opentelemetry end does not allow string input with spaces, |
86 | 84 | % replace any spaces with underscores as a temporary fix |
87 | | - hiname = strrep(hiname, ' ', '_'); |
88 | 85 | hidescription = mustBeScalarString(hidescription); |
89 | 86 | hiunit = mustBeScalarString(hiunit); |
90 | 87 | id = obj.Proxy.createHistogram(hiname, hidescription, hiunit); |
|
0 commit comments