@powerlines/plugin-open-telemetry 0.1.246 → 0.1.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -76,6 +76,35 @@ A package containing a Powerlines plugin for integrating Open Telemetry into Pow
|
|
|
76
76
|
|
|
77
77
|
<!-- END doctoc -->
|
|
78
78
|
|
|
79
|
+
## Features
|
|
80
|
+
|
|
81
|
+
- Registers OpenTelemetry integration for the project at runtime.
|
|
82
|
+
- Initializes telemetry with a `serviceName`.
|
|
83
|
+
- Exports spans and metrics through the configured exporter.
|
|
84
|
+
- Ships shared components for observed projects.
|
|
85
|
+
|
|
86
|
+
## Usage
|
|
87
|
+
|
|
88
|
+
Install the package:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
pnpm add @powerlines/plugin-open-telemetry
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Register the plugin in `powerlines.config.ts`:
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
import { defineConfig } from "powerlines/config";
|
|
98
|
+
import { plugin as openTelemetry } from "@powerlines/plugin-open-telemetry";
|
|
99
|
+
|
|
100
|
+
export default defineConfig({
|
|
101
|
+
plugins: [openTelemetry({ serviceName: "my-service" })],
|
|
102
|
+
openTelemetry: { serviceName: "my-service" }
|
|
103
|
+
});
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Then run the Powerlines build for your project.
|
|
107
|
+
|
|
79
108
|
## Installing
|
|
80
109
|
|
|
81
110
|
Using [pnpm](http://pnpm.io):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-open-telemetry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.247",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin for registering OpenTelemetry integration at runtime.",
|
|
6
6
|
"keywords": [
|
|
@@ -185,10 +185,10 @@
|
|
|
185
185
|
"@alloy-js/markdown": "^0.24.0",
|
|
186
186
|
"@alloy-js/typescript": "^0.24.0",
|
|
187
187
|
"@power-plant/alloy-js": "^0.0.95",
|
|
188
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
189
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
190
|
-
"@powerlines/plugin-env": "^0.16.
|
|
191
|
-
"@storm-software/config-tools": "^1.190.
|
|
188
|
+
"@powerlines/plugin-alloy": "^0.26.315",
|
|
189
|
+
"@powerlines/plugin-automd": "^0.1.679",
|
|
190
|
+
"@powerlines/plugin-env": "^0.16.426",
|
|
191
|
+
"@storm-software/config-tools": "^1.190.154",
|
|
192
192
|
"@stryke/convert": "^0.7.47",
|
|
193
193
|
"@stryke/env": "^0.20.135",
|
|
194
194
|
"@stryke/fs": "^0.33.118",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"automd": "^0.4.3",
|
|
201
201
|
"c12": "^3.3.4",
|
|
202
202
|
"defu": "^6.1.7",
|
|
203
|
-
"powerlines": "^0.47.
|
|
203
|
+
"powerlines": "^0.47.217",
|
|
204
204
|
"zod": "^4.6.7"
|
|
205
205
|
},
|
|
206
206
|
"devDependencies": {
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
"@opentelemetry/sdk-logs": "^0.220.0",
|
|
217
217
|
"@opentelemetry/sdk-metrics": "^2.12.0",
|
|
218
218
|
"@opentelemetry/sdk-trace-base": "^2.12.0",
|
|
219
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
219
|
+
"@powerlines/plugin-plugin": "^0.12.630",
|
|
220
220
|
"@types/node": "^25.9.9",
|
|
221
221
|
"protobufjs": "^7.6.6"
|
|
222
222
|
},
|
|
@@ -233,5 +233,5 @@
|
|
|
233
233
|
"@opentelemetry/sdk-trace-base": ">=2.0.0 <3.0.0"
|
|
234
234
|
},
|
|
235
235
|
"publishConfig": { "access": "public" },
|
|
236
|
-
"gitHead": "
|
|
236
|
+
"gitHead": "bb4e1f2b32a8bb9d20559ca7c3df3a2f30a0d14e"
|
|
237
237
|
}
|