ronnybremer opened a new issue, #2685:
URL: https://github.com/apache/apisix-ingress-controller/issues/2685
### Issue description
I have deployed the v2 helm chart of the ingress controller and got routes
working successfully. `opentelemetry` plugin is enabled and configured in the
`apisix` ConfigMap.
The route gives me the error:
```
lua] opentelemetry.lua:312: phase_func(): plugin_metadata is required for
opentelemetry plugin to working properly
```
I found a PR adding support for that, so I added a ConfigMap:
```yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: plugin-metadata
namespace: apisix-ingress
data:
config.yaml: |
- cluster: default
plugins:
- name: opentelemetry
metadata:
resource:
service.name: APISIX
service.version: 3.19
service.instance.id: ${{HOSTNAME}}
collector:
address: jaeger-collector.monitoring:4318
```
Now the problem is, how do I correctly reference that in the ingress config?
I tried adding this to the ConfigMap of `apisix`:
```yaml
plugin_metadata_cm: plugin-metadata
```
but to no avail. Also tried adding it to the ConfigMap of the ingress
controller, but same issue.
What am I missing?
### Environment
- your apisix-ingress-controller version (output of
apisix-ingress-controller version --long):
apache/apisix-ingress-controller:2.0.0 (can't exec into the container to get
the real version)
- your Kubernetes cluster version (output of kubectl version): Client
Version: v1.34.3
Kustomize Version: v5.7.1
Server Version: v1.34.3
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]