@crossdelta/infrastructure 0.7.3 → 0.7.5

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 CHANGED
@@ -137,4 +137,4 @@ ports().http(4000).addHttp(8080, 'metrics').build() // Multiple ports
137
137
 
138
138
  ## License
139
139
 
140
- MIT
140
+ MIT © [crossdelta](https://crossdelta.de)
package/dist/index.cjs CHANGED
@@ -325,7 +325,7 @@ function deployNginxIngress(provider, config = {}) {
325
325
  },
326
326
  "proxy-buffer-size": "16k",
327
327
  "worker-processes": "auto",
328
- "keep-alive": "75",
328
+ "keep-alive": "55",
329
329
  ...config.nginxConfig
330
330
  },
331
331
  admissionWebhooks: {
@@ -927,7 +927,8 @@ var dockerHubImage = (repository, tag, registry = "library") => `${registry}/${r
927
927
  var buildOtelEnv = (serviceName, config) => {
928
928
  const env = {
929
929
  OTEL_SERVICE_NAME: serviceName,
930
- OTEL_RESOURCE_ATTRIBUTES: `service.name=${serviceName},deployment.environment=${config.environment ?? "production"}`
930
+ OTEL_RESOURCE_ATTRIBUTES: `service.name=${serviceName},deployment.environment=${config.environment ?? "production"}`,
931
+ OTEL_EXPORTER_OTLP_PROTOCOL: "http/json"
931
932
  };
932
933
  if (config.tracesEndpoint) {
933
934
  env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = config.tracesEndpoint;
package/dist/index.js CHANGED
@@ -231,7 +231,7 @@ function deployNginxIngress(provider, config = {}) {
231
231
  },
232
232
  "proxy-buffer-size": "16k",
233
233
  "worker-processes": "auto",
234
- "keep-alive": "75",
234
+ "keep-alive": "55",
235
235
  ...config.nginxConfig
236
236
  },
237
237
  admissionWebhooks: {
@@ -833,7 +833,8 @@ var dockerHubImage = (repository, tag, registry = "library") => `${registry}/${r
833
833
  var buildOtelEnv = (serviceName, config) => {
834
834
  const env = {
835
835
  OTEL_SERVICE_NAME: serviceName,
836
- OTEL_RESOURCE_ATTRIBUTES: `service.name=${serviceName},deployment.environment=${config.environment ?? "production"}`
836
+ OTEL_RESOURCE_ATTRIBUTES: `service.name=${serviceName},deployment.environment=${config.environment ?? "production"}`,
837
+ OTEL_EXPORTER_OTLP_PROTOCOL: "http/json"
837
838
  };
838
839
  if (config.tracesEndpoint) {
839
840
  env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT = config.tracesEndpoint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/infrastructure",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -35,7 +35,7 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@crossdelta/cloudevents": "0.7.2"
38
+ "@crossdelta/cloudevents": "0.7.3"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@pulumi/digitalocean": "^4.0.0",