diff --git a/framework/.changeset/v0.17.0 b/framework/.changeset/v0.17.0 new file mode 100644 index 000000000..a0400a445 --- /dev/null +++ b/framework/.changeset/v0.17.0 @@ -0,0 +1,2 @@ +- Fix Otel config +- Set seccomp for solana container runtime diff --git a/framework/components/blockchain/solana.go b/framework/components/blockchain/solana.go index 070209c64..fe030e147 100644 --- a/framework/components/blockchain/solana.go +++ b/framework/components/blockchain/solana.go @@ -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{ { @@ -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, diff --git a/framework/observability/compose-victoria-metrics/otel/otel-collector-config.yaml b/framework/observability/compose-victoria-metrics/otel/otel-collector-config.yaml index 0b60ecc0f..d12d294e9 100644 --- a/framework/observability/compose-victoria-metrics/otel/otel-collector-config.yaml +++ b/framework/observability/compose-victoria-metrics/otel/otel-collector-config.yaml @@ -44,7 +44,7 @@ service: metrics: readers: - periodic: - interval: 10s + interval: 10000 exporter: otlp: protocol: http/protobuf @@ -63,4 +63,4 @@ service: traces: receivers: [ otlp ] processors: [ batch ] - exporters: [ otlp/traces, debug ] \ No newline at end of file + exporters: [ otlp/traces, debug ] diff --git a/framework/observability/compose/otel.yaml b/framework/observability/compose/otel.yaml index ee9c8038b..1b060b832 100644 --- a/framework/observability/compose/otel.yaml +++ b/framework/observability/compose/otel.yaml @@ -35,7 +35,7 @@ service: metrics: readers: - periodic: - interval: 10s + interval: 10000 exporter: otlp: protocol: http/protobuf @@ -52,4 +52,4 @@ service: metrics: receivers: [otlp] processors: [batch] - exporters: [debug, prometheus] \ No newline at end of file + exporters: [debug, prometheus]