Repository navigation
Commit f024bcf
committed
feat(ingest): --record-shape flag for new-datasource
Buckets datasources can flatten each source record into table rows with a named
record shape (the worker's connectors/shapes registry: mqtt_observations,
otel_traces). Until now only the CLI's wizard/API could set it, so a shaped
continuous datasource — e.g. OTLP traces via otel_traces — needed a raw API
call. Mirror the existing --continuous flag: filesystem-only, threaded straight
into IngestRequest.record_shape, omitted from the body when unset
(skip_serializing_if). The worker validates the name and 422s an unknown one.1 parent 39b78ae commit f024bcf
2 files changed
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
435 | 440 | | |
436 | 441 | | |
437 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
701 | 706 | | |
702 | 707 | | |
703 | 708 | | |
| |||
719 | 724 | | |
720 | 725 | | |
721 | 726 | | |
| 727 | + | |
722 | 728 | | |
723 | 729 | | |
724 | 730 | | |
| |||
786 | 792 | | |
787 | 793 | | |
788 | 794 | | |
| 795 | + | |
789 | 796 | | |
790 | 797 | | |
791 | 798 | | |
| |||
1845 | 1852 | | |
1846 | 1853 | | |
1847 | 1854 | | |
| 1855 | + | |
1848 | 1856 | | |
1849 | 1857 | | |
1850 | 1858 | | |
| |||
1902 | 1910 | | |
1903 | 1911 | | |
1904 | 1912 | | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
1905 | 1941 | | |
1906 | 1942 | | |
1907 | 1943 | | |
| |||
0 commit comments