Skip to content

Comments

Test: experimental image with raw OBI#82

Closed
paweljw wants to merge 3 commits intomainfrom
pawel/obi-test-image
Closed

Test: experimental image with raw OBI#82
paweljw wants to merge 3 commits intomainfrom
pawel/obi-test-image

Conversation

@paweljw
Copy link
Member

@paweljw paweljw commented Dec 2, 2025

Not intended to be merged, needed for image build

@curusarn
Copy link
Contributor

curusarn commented Dec 4, 2025

Just FYI @paweljw:

Tried on staging, got all collectors as Down.

CleanShot 2025-12-04 at 17 16 44@2x

Error in flash:

~ Transform "namespace_logs_sample_router.never" has no consumers
~ Transform "service_logs_sample_router.never" has no consumers
~ Transform "traces_filter_router.never" has no consumers
~ Source "kubernetes_discovery_static_metrics" has no consumers
~ Source "better_stack_apache_process_metrics_enrichment_stub" has no consumers
~ Source "beyla_otel.logs" has no consumers

Component errors
----------------
x Enrichment Table "containers_by_database": No such file or directory (os error 2)
x Enrichment Table "containers_by_pid": No such file or directory (os error 2)
x Transform "better_stack_beyla_transform": 
error[E610]: function compilation error: error[E401] invalid enum variant"
   ┌─ :16:16
   │
16 │     row, err = get_enrichment_table_record("containers_by_pid", {"pid": pid})
   │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   │                │
   │                invalid enum variant for argument "table"
   │                expected one of: "swarm_container_map", "container_to_service_map"
   │                received: "containers_by_pid"
   │
   = learn more about error code 401 at https://errors.vrl.dev/401
   = see language documentation at https://vrl.dev
   = try your code in the VRL REPL, learn more at https://vrl.dev/examples

x Transform "better_stack_docker_json_file_parser": 
error[E610]: function compilation error: error[E401] invalid enum variant"
   ┌─ :97:24
   │
97 │       container_rows = find_enrichment_table_records("containers_by_pid", {"container_id": extracted_id}) ?? []
   │                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   │                        │
   │                        invalid enum variant for argument "table"
   │                        expected one of: "swarm_container_map", "container_to_service_map"
   │                        received: "containers_by_pid"
   │
   = learn more about error code 401 at https://errors.vrl.dev/401
   = see language documentation at https://vrl.dev
   = try your code in the VRL REPL, learn more at https://vrl.dev/examples

x Transform "better_stack_node_agent_cluster_agent_transform": 
error[E610]: function compilation error: error[E401] invalid enum variant"
   ┌─ :47:33
   │
47 │     enrichment_table_row, err = get_enrichment_table_record("containers_by_database", {"identifier": .tags.address})
   │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   │                                 │
   │                                 invalid enum variant for argument "table"
   │                                 expected one of: "swarm_container_map", "container_to_service_map"
   │                                 received: "containers_by_database"
   │
   = learn more about error code 401 at https://errors.vrl.dev/401
   = see language documentation at https://vrl.dev
   = try your code in the VRL REPL, learn more at https://vrl.dev/examples

x Transform "beyla_traces_transform": 
error[E610]: function compilation error: error[E401] invalid enum variant"
   ┌─ :16:16
   │
16 │     row, err = get_enrichment_table_record("containers_by_pid", {"pid": pid})
   │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   │                │
   │                invalid enum variant for argument "table"
   │                expected one of: "swarm_container_map", "container_to_service_map"
   │                received: "containers_by_pid"
   │
   = learn more about error code 401 at https://errors.vrl.dev/401
   = see language documentation at https://vrl.dev
   = try your code in the VRL REPL, learn more at https://vrl.dev/examples

x Transform "supervisor_transform": 
error[E610]: function compilation error: error[E401] invalid enum variant"
  ┌─ :7:10
  │
7 │   rows = find_enrichment_table_records("containers_by_pid", {"container_id": container_id}) ?? []
  │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  │          │
  │          invalid enum variant for argument "table"
  │          expected one of: "swarm_container_map", "container_to_service_map"
  │          received: "containers_by_pid"
  │
  = learn more about error code 401 at https://errors.vrl.dev/401
  = see language documentation at https://vrl.dev
  = try your code in the VRL REPL, learn more at https://vrl.dev/examples

x Transform "vector_logs_transform": 
error[E610]: function compilation error: error[E401] invalid enum variant"
  ┌─ :6:10
  │
6 │   rows = find_enrichment_table_records("containers_by_pid", {"container_id": container_id}) ?? []
  │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  │          │
  │          invalid enum variant for argument "table"
  │          expected one of: "swarm_container_map", "container_to_service_map"
  │          received: "containers_by_pid"
  │
  = learn more about error code 401 at https://errors.vrl.dev/401
  = see language documentation at https://vrl.dev
  = try your code in the VRL REPL, learn more at https://vrl.dev/examples

@paweljw
Copy link
Member Author

paweljw commented Dec 4, 2025

@curusarn looks like the enrichment defaults weren’t copied into place? Or perhaps overwritten with something invalid. Odd, because vector.sh should do that automatically.

Don’t think it’s related to Obi itself. I’ll try and replicate this 🙏

@paweljw
Copy link
Member Author

paweljw commented Dec 9, 2025

@curusarn update image with latest main and OBI v0.3.0

@paweljw paweljw closed this Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants