samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srujun Thanmay Gupta <>
Subject Re: No Metrics Emitted in new High-Level API
Date Sat, 27 Jan 2018 01:23:36 GMT

I have attached the container log and the job coordinator logs for the two
samples I ran, and the .properties configuration files used. The
wikipedia-feed and wikipedia-application code are exactly the same as in
the master branch on hello-samza. The only change is that I added the
metrics config to the file.

ubuntu@ubuntu-xenial /vagrant/hello-samza % git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   src/main/config/

no changes added to commit (use "git add" and/or "git commit -a")

ubuntu@ubuntu-xenial /vagrant/hello-samza % git rev-parse HEAD

I scanned through the log files but I do not see anything alarming. The
MetricsSnapshotReporter is being invoked in both places, but I only see
messages in the Kafka metrics stream for the wikipedia-feed job, not

Is there anything else I can try? Thank you!

On Fri, Jan 26, 2018 at 6:32 PM, Jagadish Venkatraman <> wrote:

> Hi Srujun,
> Metrics reporting should be supported independent of the deployment model.
> Can you please attach your container log file?
> Are you seeing log lines from MetricsSnapshotReporter:
> src/main/scala/org/apache/samza/metrics/reporter/
> MetricsSnapshotReporter.scala
> ?
> Alternately, you could also set your log-level to DEBUG and verify if the
> snapshot reporter is being invoked.
> Best,
> Jagdish

Srujun Thanmay Gupta

View raw message