diff --git a/solutions/cncf-generated/open-policy-agent-opa-/open-policy-agent-opa-1469-add-opentracing-census-telemetry-support-for-opa-api-.json b/solutions/cncf-generated/open-policy-agent-opa-/open-policy-agent-opa-1469-add-opentracing-census-telemetry-support-for-opa-api-.json new file mode 100644 index 00000000..14eef1cb --- /dev/null +++ b/solutions/cncf-generated/open-policy-agent-opa-/open-policy-agent-opa-1469-add-opentracing-census-telemetry-support-for-opa-api-.json @@ -0,0 +1,73 @@ +{ + "version": "kc-mission-v1", + "name": "open-policy-agent-opa-1469-add-opentracing-census-telemetry-support-for-opa-api-", + "missionClass": "solution", + "author": "KubeStellar Bot", + "authorGithub": "kubestellar", + "mission": { + "title": "open-policy-agent-opa-: Add OpenTracing/Census/Telemetry support for OPA API's", + "description": "Add OpenTracing/Census/Telemetry support for OPA API's. Requested by 27+ users.", + "type": "feature", + "status": "completed", + "steps": [ + { + "title": "Check current open-policy-agent-opa- deployment", + "description": "Verify your open-policy-agent-opa- version and configuration:\n```bash\nkubectl get pods -n open-policy-agent-opa- -l app.kubernetes.io/name=open-policy-agent-opa-\nhelm list -n open-policy-agent-opa- 2>/dev/null || echo \"Not installed via Helm\"\n```\nThis feature requires a working open-policy-agent-opa- installation." + }, + { + "title": "Review open-policy-agent-opa- configuration", + "description": "Inspect the relevant open-policy-agent-opa- configuration:\n```bash\nkubectl get all -n open-policy-agent-opa- -l app.kubernetes.io/name=open-policy-agent-opa-\nkubectl get configmap -n open-policy-agent-opa- -l app.kubernetes.io/part-of=open-policy-agent-opa-\n```\nSome history on the drive for this in #1451 \n\nBasically we want to allow for systems to do tracing of requests that flow through OPA for better system-wide visibility." + }, + { + "title": "Apply the fix for Add OpenTracing/Census/Telemetry support for OPA API's", + "description": "This commit implements tracing using the net/http [automatic instrumentation wrappers](https://opentelemetry.io/docs/go/instrumentation/#automatic-instrumentation) on the server and topdown/http packages.\n\nFollowing configuration flags are added:\n --distributed-tracing enable distributed tracing using OpenTelemetry Tracing\n --distributed-tracing-address string address of the OpenTelemetry Collector gRPC endpoint (default \"localhost:4317\")\n \n\nSee the fix PR for details: linked PR" + }, + { + "title": "Verify the feature works", + "description": "Test that the new capability is working as expected:\n```bash\nkubectl get pods -n open-policy-agent-opa- -l app.kubernetes.io/name=open-policy-agent-opa-\nkubectl get events -n open-policy-agent-opa- --sort-by='.lastTimestamp' | tail -10\n```\nConfirm the feature described in \"Add OpenTracing/Census/Telemetry support for OPA API's\" is functioning correctly." + } + ], + "resolution": { + "summary": "This commit implements tracing using the net/http [automatic instrumentation wrappers](https://opentelemetry.io/docs/go/instrumentation/#automatic-instrumentation) on the server and topdown/http packages.", + "codeSnippets": [] + } + }, + "metadata": { + "tags": [ + "open-policy-agent-opa-", + "graduated", + "security", + "feature" + ], + "cncfProjects": [ + "open-policy-agent-opa-" + ], + "targetResourceKinds": [], + "difficulty": "intermediate", + "issueTypes": [ + "feature" + ], + "maturity": "graduated", + "sourceUrls": { + "issue": "https://github.com/open-policy-agent/opa/issues/1469", + "repo": "https://github.com/open-policy-agent/opa", + "pr": "https://github.com/open-policy-agent/opa/pull/4029" + }, + "reactions": 27, + "comments": 11, + "synthesizedBy": "copilot" + }, + "prerequisites": { + "kubernetes": ">=1.24", + "tools": [ + "kubectl" + ], + "description": "A running Kubernetes cluster with open-policy-agent-opa- installed or the issue environment reproducible." + }, + "security": { + "scannedAt": "2026-03-11T03:03:28.542Z", + "scannerVersion": "cncf-gen-3.0.0", + "sanitized": true, + "findings": [] + } +}