Skip to content

Commit 2c1b6d8

Browse files
Igor Smolyarigorscs
authored andcommitted
[json-logging] add "api-server" feldera-service name
Used by feldera-cloud api server logging
1 parent 21894e4 commit 2c1b6d8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/feldera-observability/src/json_logging.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub enum ServiceName {
1717
ControlPlane,
1818
KubernetesRunner,
1919
Pipeline,
20+
ApiServer,
2021
}
2122

2223
impl ServiceName {
@@ -28,6 +29,7 @@ impl ServiceName {
2829
ServiceName::ControlPlane => "control-plane",
2930
ServiceName::KubernetesRunner => "kubernetes-runner",
3031
ServiceName::Pipeline => "pipeline",
32+
ServiceName::ApiServer => "api-server",
3133
}
3234
}
3335
}

docs.feldera.com/docs/operations/json-logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ These identity fields are lifted alongside the standard top-level metadata (`tim
1616

1717
| Field | Meaning |
1818
| ------------------ | -------------------------------------------------------------------------------- |
19-
| `feldera-service` | Source: `manager` \| `runner` \| `compiler-server` \| `kubernetes-runner` \| `control-plane` \| `pipeline` (auto-tagged by module path). This identifies which Feldera component produced the log. |
19+
| `feldera-service` | Source: `manager` \| `runner` \| `compiler-server` \| `kubernetes-runner` \| `api-server` \| `control-plane` \| `pipeline` (auto-tagged by module path). This identifies which Feldera component produced the log. |
2020
| `pipeline-name` | Human-friendly pipeline name when available; if it is not immediately available it is set to `N/A`. Present for pipeline events. Control plane events tied to a specific pipeline also include this name. |
2121
| `pipeline-id` | Pipeline UUID when the event relates to a specific pipeline. Present for pipeline events. Control plane events tied to a specific pipeline also include this ID. |
2222

0 commit comments

Comments
 (0)