Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

httpFault/abort rules trigger does not send data to Prometheus #769

Closed
esnible opened this issue May 30, 2017 · 3 comments
Closed

httpFault/abort rules trigger does not send data to Prometheus #769

esnible opened this issue May 30, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@esnible
Copy link
Contributor

esnible commented May 30, 2017

To reproduce, start up bookinfo.

cat << EOF |
type: route-rule
name: ratings-fail-xpercent
spec:
  destination: ratings.default.svc.cluster.local
  precedence: 2
  httpFault:
    abort:
      percent: 95
      httpStatus: 500
EOF
istioctl replace

Drive some traffic. Then look at the output in Prometheus or ServiceGraph. The traffic is reduced by the %, but there are no response_code entries for the injected 500s.

@ZackButcher
Copy link
Contributor

This is likely a problem in either Envoy's Mixer filter or the mixerclient itself. Mixer just blindly pushes the data we're provided to the metric backend, these missing stats seem to indicate that Report calls aren't being made to the mixer by Envoy when it sees a 500.

@douglas-reid
Copy link
Contributor

@qiwzhang any ideas what might cause this related to the filter chain?

@mandarjog
Copy link
Contributor

Issue moved to istio/mixerclient #133 via ZenHub

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants