1
0
Fork 0
mirror of https://github.com/imjasonh/gcp-metrics-action synced 2026-07-17 14:15:49 +00:00
gcp-metrics-action/dist/320.index.js
Jason Hall 0226ab3336 Fix OpenTelemetry v2 migration - use resourceFromAttributes
Breaking change in OpenTelemetry v2:
- v1: new Resource({...})
- v2: resourceFromAttributes({...})

Updated both MeterProvider and TracerProvider to use the new API.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 22:22:25 -05:00

38 lines
No EOL
1.1 KiB
JavaScript

"use strict";
exports.id = 320;
exports.ids = [320];
exports.modules = {
/***/ 74320:
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
/*
* Copyright The OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.getMachineId = void 0;
const api_1 = __webpack_require__(63914);
async function getMachineId() {
api_1.diag.debug('could not read machine-id: unsupported platform');
return undefined;
}
exports.getMachineId = getMachineId;
//# sourceMappingURL=getMachineId-unsupported.js.map
/***/ })
};
;