Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

nginx-meshctl top does not work  #78

@darkn3rd

Description

@darkn3rd

STEPS

  1. Run through tutorial with https://docs.nginx.com/nginx-service-mesh/tutorials/observability/
  2. Deploy some applications that are integrated into the mesh
  3. Run nginx-meshctl top

I used helmfile to deploy what was in the docs, except that I use manual injection and enabled strict mTLS mode.

cat << EOF > helmfile.yaml
repositories:
  # https://artifacthub.io/packages/helm/nginx/nginx-service-mesh
  - name: nginx-stable
    url: https://helm.nginx.com/stable

releases:
  - name: nsm
    namespace: nginx-mesh
    chart: nginx-stable/nginx-service-mesh
    values:
      - prometheusAddress: prometheus.nsm-monitoring.svc:9090
        telemetry:
          exporters:
            otlp:
              host: otel-collector.nsm-monitoring.svc
              port: 4317
          samplerRatio: 1
        tracing: null
        # 'allow' or 'deny'
        accessControlMode: {{ env "NSM_ACCESS_CONTROL_MODE" | default "allow" }}
        mtls:
          # 'strict' or 'permissive'
          mode: {{ env "NSM_MTLS_MODE" | default "strict" }}
        autoInjection:
          {{- if eq (env "NSM_AUTO_INJECTION") "true" }}
          disable: false
          disabledNamespaces:
            - nsm-monitoring
          {{- else }}
          disable: true
          {{- end }}
EOF

helmfile apply

Expect Results

There would be data

Actual Results

Cannot build traffic statistics.
Error: no metrics populated - make sure traffic is flowing

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions