forked from envoyproxy/gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs/Tests: documentation and e2e tests for Datadog tracing (envoypro…
…xy#4480) * Add e2e test for Datadog tracing Signed-off-by: Hartigan <[email protected]> * Add documentation for Datadog tracing support for proxy Signed-off-by: Hartigan <[email protected]> * Format test yaml files Signed-off-by: Hartigan <[email protected]> * Remove Grafana Alloy for Datadog tracing e2e test Signed-off-by: Hartigan <[email protected]> * Update generated files Signed-off-by: Hartigan <[email protected]> --------- Signed-off-by: Hartigan <[email protected]>
- Loading branch information
Showing
10 changed files
with
277 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
apiVersion: gateway.networking.k8s.io/v1 | ||
kind: Gateway | ||
metadata: | ||
name: eg-special-case-datadog | ||
namespace: gateway-conformance-infra | ||
spec: | ||
gatewayClassName: "{GATEWAY_CLASS_NAME}" | ||
listeners: | ||
- name: http | ||
port: 80 | ||
protocol: HTTP | ||
allowedRoutes: | ||
namespaces: | ||
from: All | ||
infrastructure: | ||
parametersRef: | ||
group: gateway.envoyproxy.io | ||
kind: EnvoyProxy | ||
name: datadog-tracing | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: datadog-agent | ||
namespace: monitoring | ||
spec: | ||
selector: | ||
app.kubernetes.io/instance: eg-addons | ||
app.kubernetes.io/name: opentelemetry-collector | ||
component: standalone-collector | ||
ports: | ||
- protocol: TCP | ||
port: 8126 | ||
targetPort: 8126 | ||
--- | ||
apiVersion: gateway.envoyproxy.io/v1alpha1 | ||
kind: EnvoyProxy | ||
metadata: | ||
name: datadog-tracing | ||
namespace: gateway-conformance-infra | ||
spec: | ||
logging: | ||
level: | ||
default: debug | ||
telemetry: | ||
tracing: | ||
provider: | ||
type: Datadog | ||
backendRefs: | ||
- name: datadog-agent | ||
namespace: monitoring | ||
port: 8126 | ||
customTags: | ||
"provider": | ||
type: Literal | ||
literal: | ||
value: "datadog" | ||
"k8s.cluster.name": | ||
type: Literal | ||
literal: | ||
value: "envoy-gateway" | ||
"k8s.pod.name": | ||
type: Environment | ||
environment: | ||
name: ENVOY_POD_NAME | ||
defaultValue: "-" | ||
"k8s.namespace.name": | ||
type: Environment | ||
environment: | ||
name: ENVOY_GATEWAY_NAMESPACE | ||
defaultValue: "envoy-gateway-system" | ||
shutdown: | ||
drainTimeout: 5s | ||
minDrainDuration: 1s | ||
--- | ||
apiVersion: gateway.networking.k8s.io/v1 | ||
kind: HTTPRoute | ||
metadata: | ||
name: tracing-datadog | ||
namespace: gateway-conformance-infra | ||
spec: | ||
parentRefs: | ||
- name: eg-special-case-datadog | ||
rules: | ||
- matches: | ||
- path: | ||
type: PathPrefix | ||
value: /datadog | ||
backendRefs: | ||
- name: infra-backend-v2 | ||
port: 8080 |
Oops, something went wrong.