generated from rmcguire/go-server-with-otel
implement econet exporter
This commit is contained in:
+30
-23
@@ -1,22 +1,5 @@
|
||||
{
|
||||
"definitions": {
|
||||
"ConfigDemoOpts": {
|
||||
"properties": {
|
||||
"factLang": {
|
||||
"default": "en",
|
||||
"type": "string"
|
||||
},
|
||||
"factType": {
|
||||
"default": "random",
|
||||
"enum": [
|
||||
"today",
|
||||
"random"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ConfigGRPCConfig": {
|
||||
"properties": {
|
||||
"enableGRPCGateway": {
|
||||
@@ -41,6 +24,10 @@
|
||||
"default": "/grpc-api",
|
||||
"type": "string"
|
||||
},
|
||||
"grpcGatewayPathStrip": {
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"listen": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -52,6 +39,21 @@
|
||||
},
|
||||
"ConfigHTTPConfig": {
|
||||
"properties": {
|
||||
"corsAllowCredentials": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"corsAllowPrivateNetwork": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"corsAllowedOrigins": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"corsEnabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -121,6 +123,15 @@
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"costPerKWH": {
|
||||
"type": "number"
|
||||
},
|
||||
"econetEmail": {
|
||||
"type": "string"
|
||||
},
|
||||
"econetPassword": {
|
||||
"type": "string"
|
||||
},
|
||||
"environment": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -136,15 +147,11 @@
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"opts": {
|
||||
"$ref": "#/definitions/ConfigDemoOpts"
|
||||
},
|
||||
"otel": {
|
||||
"$ref": "#/definitions/ConfigOTELConfig"
|
||||
},
|
||||
"timezone": {
|
||||
"default": "UTC",
|
||||
"type": "string"
|
||||
"usageInterval": {
|
||||
"type": "integer"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user