Skip to content

Commit db55b93

Browse files
JJSantos22RafaelAPB
authored andcommitted
feat(satp-hermes): gateway monitoring and dashboard
Signed-off-by: Jorge Santos <[email protected]>
1 parent ccf65b4 commit db55b93

File tree

84 files changed

+15980
-10627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+15980
-10627
lines changed

packages/cactus-plugin-satp-hermes/docker-compose-satp.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,26 @@ services:
55
build:
66
context: ./
77
dockerfile: satp-hermes-gateway.Dockerfile
8+
environment:
9+
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
10+
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-lgtm:4318
11+
812
ports:
913
- 3010:3010/tcp # SERVER_PORT
1014
- 3011:3011/tcp # CLIENT_PORT
1115
- 3012:4010/tcp # API_PORT
1216
#https://grafana.com/blog/2024/03/13/an-opentelemetry-backend-in-a-docker-image-introducing-grafana/otel-lgtm/
13-
otel-collector:
14-
image: grafana/otel-lgtm:latest
15-
container_name: otel-collector
16-
environment:
17-
- OTEL_METRIC_EXPORT_INTERVAL=500
18-
ports:
19-
- "3013:4317" # OpenTelemetry gRPC endpoint
20-
- "3014:4318" # OpenTelemetry HTTP endpoint
17+
otel-lgtm:
18+
image: grafana/otel-lgtm:latest
19+
container_name: otel-lgtm
20+
environment:
21+
ENABLE_LOGS_ALL: true
22+
OTEL_METRIC_EXPORT_INTERVAL: "500"
23+
ports:
24+
- "4000:3000" # Grafana
25+
- "4317:4317" # OpenTelemetry gRPC endpoint
26+
- "4318:4318" # OpenTelemetry HTTP endpoint
27+
- "9090:9090" # Prometheus
28+
- "3100:3100" # Loki
29+
- "3200:3200" # Tempo
30+
restart: unless-stopped
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# NetworkID
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**Id** | Pointer to **string** | The network of the DLT being interacted with. | [optional]
8+
**Type** | Pointer to **string** | Enumerates the different ledger vendors and their major versions encoded within the name of the LedgerType. For example \&quot;BESU_1X\&quot; involves all of the [1.0.0;2.0.0) where 1.0.0 is included and anything up until, but not 2.0.0. See: https://stackoverflow.com/a/4396303/698470 for further explanation. | [optional]
9+
10+
## Methods
11+
12+
### NewNetworkID
13+
14+
`func NewNetworkID() *NetworkID`
15+
16+
NewNetworkID instantiates a new NetworkID object
17+
This constructor will assign default values to properties that have it defined,
18+
and makes sure properties required by API are set, but the set of arguments
19+
will change when the set of required properties is changed
20+
21+
### NewNetworkIDWithDefaults
22+
23+
`func NewNetworkIDWithDefaults() *NetworkID`
24+
25+
NewNetworkIDWithDefaults instantiates a new NetworkID object
26+
This constructor will only assign default values to properties that have it defined,
27+
but it doesn't guarantee that properties required by API are set
28+
29+
### GetId
30+
31+
`func (o *NetworkID) GetId() string`
32+
33+
GetId returns the Id field if non-nil, zero value otherwise.
34+
35+
### GetIdOk
36+
37+
`func (o *NetworkID) GetIdOk() (*string, bool)`
38+
39+
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
40+
and a boolean to check if the value has been set.
41+
42+
### SetId
43+
44+
`func (o *NetworkID) SetId(v string)`
45+
46+
SetId sets Id field to given value.
47+
48+
### HasId
49+
50+
`func (o *NetworkID) HasId() bool`
51+
52+
HasId returns a boolean if a field has been set.
53+
54+
### GetType
55+
56+
`func (o *NetworkID) GetType() string`
57+
58+
GetType returns the Type field if non-nil, zero value otherwise.
59+
60+
### GetTypeOk
61+
62+
`func (o *NetworkID) GetTypeOk() (*string, bool)`
63+
64+
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
65+
and a boolean to check if the value has been set.
66+
67+
### SetType
68+
69+
`func (o *NetworkID) SetType(v string)`
70+
71+
SetType sets Type field to given value.
72+
73+
### HasType
74+
75+
`func (o *NetworkID) HasType() bool`
76+
77+
HasType returns a boolean if a field has been set.
78+
79+
80+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
81+
82+

0 commit comments

Comments
 (0)