Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions framework/.changeset/v0.17.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix Otel config
- Set seccomp for solana container runtime
4 changes: 4 additions & 0 deletions framework/components/blockchain/solana.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func newSolana(ctx context.Context, in *Input) (*Output, error) {
Target: "/programs",
ReadOnly: false,
})
h.SecurityOpt = append(h.SecurityOpt, "seccomp=unconfined")
},
Files: []testcontainers.ContainerFile{
{
Expand All @@ -150,6 +151,9 @@ func newSolana(ctx context.Context, in *Input) (*Output, error) {
},
Entrypoint: entrypoint,
}
if in.ImagePlatform != nil {
req.ImagePlatform = *in.ImagePlatform
}

c, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
ContainerRequest: req,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ service:
metrics:
readers:
- periodic:
interval: 10s
interval: 10000
exporter:
otlp:
protocol: http/protobuf
Expand All @@ -63,4 +63,4 @@ service:
traces:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ otlp/traces, debug ]
exporters: [ otlp/traces, debug ]
4 changes: 2 additions & 2 deletions framework/observability/compose/otel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ service:
metrics:
readers:
- periodic:
interval: 10s
interval: 10000
exporter:
otlp:
protocol: http/protobuf
Expand All @@ -52,4 +52,4 @@ service:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [debug, prometheus]
exporters: [debug, prometheus]
Loading