We see a huge increase in CloudWatch costs recently.
What we see is a lot of PutMetrics requests into a CloudWatch namespace which are similar to the names of DynamoDB tables used by snowplow.
Also,I can verify that the Role is used by out snowplow pipeline.
Is there a configuration that I can set to on/off reporting the metrics?
Any ideas how to approach this ?
I found this topic Turn off EMR monitoring but there is not comment there
Hi @eko this was more to answer your question about the PutMetrics for those namespaces. Externally to that I am sorry there is not much more I can do to help there - it might be a good idea also to reach out to Amazon Support for help on this if you cannot figure out whats causing the hike in costs!
Added “disableCloudWatch = true” to the configuration files for both apps yet PutMetrics requests are still high. (confirmed it with AWS support, the source of the requests are those apps)
We use stream-enrich v0.19.4 and s3-loader v0.6.0,
Could be this configuration is not supported by this versions?
Since which version of stream-enrich and s3-loader reporting PutMetrics is enabled by default ?
Hi @eko - looking at the Git history for those projects that would be a no - neither of them supported that setting. You will need to upgrade to be able to take advantage of that setting.
For the S3 Loader v1.0.0 and for Stream Enrich v1.3.2 would be the versions I would recommend to start using.
FROM snowplow-docker-registry.bintray.io/snowplow/base-alpine:0.2.0
LABEL maintainer="Snowplow Analytics Ltd. <support@snowplowanalytics.com>"
# The version of stream enrich to download.
ENV ENRICH_VERSION="0.19.4"
But I think this whole setup is outdated…
Can you point me to an updated installation guide for Stream Enrich on Docker ?
I’d recommend you to use our pre-built Docker images. You can find them in docs. You still can built your own Docker image, but that would require assembling enrich asset from sources.
Also, to add to what Josh said - I’d recommend to use Enrich 1.4.2, not 1.3.2.
The official JavaScript Tracker should fallback to sending POST on those older browsers (as Chrome throws exceptions when trying to use custom headers on those older versions that we catch). We also made some additional improvements to using Beacon in 2.13.0 of the JavaScript Tracker, which benefit older versions of Safari, that might be worth upgrading to if you haven’t already.
If this is the only reason for the fork, then you should be ok to upgrade, I don’t think you should see any consequences assuming you are using JS Tracker 2.13.0+ (I’d use 2.16.3 or 2.17.0 personally as they have smaller filesizes), Collector 2.1.0+ and Enrich 1.4.2+.