istio: Missing istio_requests_* and istio_response_* metrics

Bug description

We have several services running behind istio-ingressgateway.

The istio_requests_* and istio_response_* metrics don’t exist in both the gateways and the sidecar, but the istio_tcp_* metrics still exist.

[ ] Docs [ ] Installation [ ] Networking [ ] Performance and Scalability [x] Extensions and Telemetry [ ] Security [ ] Test and Release [ ] User Experience [ ] Developer Infrastructure

Expected behavior Expect the istio_requests_* and istio_response_* metrics exists.

Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm) 1.7.3

How was Istio installed? By istioctl command, using this config:

apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
  namespace: istio-system
spec:
  profile: default

  meshConfig:
    outboundTrafficPolicy:
      mode: ALLOW_ANY
    enableAutoMtls: false
    accessLogFile: /dev/stdout
    accessLogEncoding: JSON

Environment where bug was observed (cloud vendor, OS, etc) GKE

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16 (5 by maintainers)

Most upvoted comments

@kyessenov I’ve now replicated the problem locally as well by deploying to a kind cluster. As a brief recap. The metrics are missing for me when I deploy to EKS and kind. They are present when I deploy to microk8s.

Here is the kind cluster config I used:

kind: Cluster
 apiVersion: kind.x-k8s.io/v1alpha4
 featureGates:
   # any feature gate can be enabled here with "Name": true
   # or disabled here with "Name": false
   # not all feature gates are tested, however
   TokenRequest: true
   TokenRequestProjection: true
 kubeadmConfigPatches:
   - |
     apiVersion: kubeadm.k8s.io/v1beta2
     kind: ClusterConfiguration
     metadata:
       name: config
     apiServer:
       extraArgs:
         "service-account-issuer": "kubernetes.default.svc"
         "service-account-signing-key-file": "/etc/kubernetes/pki/sa.key"