In a pyspark project we have pyspark dataframe.foreachPartition(func) and in that func we have some aiohttp call to transfer data. What type of monitor tools can be used to monitor the metrics like data rate, throughput, time elapsed...? Can we use statsd and graphite or grafana in this case(they're prefered if possible)? Thanks.
can graphite or grafana used to monitor pyspark metrics?
206 Views Asked by JamesWang At
1
There are 1 best solutions below
Related Questions in PYSPARK
- dataframe or sqlctx (sqlcontext) generated "Trying to call a package" error
- Importing modules for code that runs in the workers
- Is possible to run spark (specifically pyspark) in process?
- More than expected jobs running in apache spark
- OutOfMemoryError when using PySpark to read files in local mode
- Can I change SparkContext.appName on the fly?
- Read ORC files directly from Spark shell
- Is there a way to mimic R's higher order (binary) function shorthand syntax within spark or pyspark?
- Accessing csv file placed in hdfs using spark
- one job takes extremely long on multiple left join in Spark-SQL (1.3.1)
- How to use spark for map-reduce flow to select N columns, top M rows of all csv files under a folder?
- Spark context 'sc' not defined
- How lambda function in takeOrdered function works in pySpark?
- Is the DStream return by updateStateByKey function only contains one RDD?
- What to set `SPARK_HOME` to?
Related Questions in MONITORING
- How to get raw hadoop metrics
- Nodejs ZMQ monitoring sockets
- Ambari Monitoring raw data
- Monitoring an applications performance within Visual studio
- how to monitor mesos frameworks
- PDF report in zabbix 2.2.9
- See data that an app is secretly sending to web server in the background
- Monitor Hadoop Cluster using Collectl
- Questions Nagios Monitoring
- NewRelic says "No data reporting for this application"
- How to monitor API calls on EC2?
- IIS Monitoring Through Zabbix
- Hadoop and Spark Monitoring and alert tool(Open source tools)
- Centreon/Icinga: command by services
- New Relic not logging custom parameters on transactions
Related Questions in GRAFANA
- How to get data from JMeter to influxDB with backend listener?
- Grafana installs successfully but interface is missing on Mac OS Yosemite
- Grafana create groups with hosts
- How can I correctly transform and display strictly increasing values from Influxdb in Grafana?
- Redirect to grafana from inside of Laravel Controller using AuthProxy
- Grafana worldmap with influxdb shows no datapoints
- How do you add a query for data grouped by a regex in influxdb to grafana?
- Does percentile metrics follow the rules of summations in Graphite + Grafana?
- InfluxDB count same string values for a timerange
- graphite or grafana, rename IDs to String in the series
- In Grafana, How to setup datasource and load templates from cli?
- How to edit the link in a slack notification from Grafana
- Get difference since 30 days ago in InfluxQL/InfluxDB
- Grafana / graphite - maxSeries on #A and #B
- Grafana / Graphite - Display number of series where count > 0
Related Questions in GRAPHITE
- Graphite -- How to send data to carbon that have timestamps over a year old
- Graphite movingAverage of sum of hitcount
- Graphite Server High IO Wait Time
- Sending System Metrics to Graphite with Spring-Boot
- carbon-tagger does not translate received metrics to Grapthite
- JMeter - Graphite Backend listener rootmetricsPrefix taking previously generated value
- Configure statsd to work with Graphite
- Graphite movingAverage for only existing datapoints
- Does percentile metrics follow the rules of summations in Graphite + Grafana?
- graphite or grafana, rename IDs to String in the series
- What are the reasons for Dropwizard meter to show drop in counts?
- Should a I use a timeseries database to store real estate prices information?
- Graphite Source of Unknown Metrics
- Understanding the response from Graphite render interface
- Grafana / graphite - maxSeries on #A and #B
Related Questions in STATSD
- Configure statsd to work with Graphite
- Grafana / graphite - maxSeries on #A and #B
- Graphite / Grafana - fetch metrics, aggregate, store as a new metric - any solution?
- In Graphite, how can count the number of data points above a value?
- Feed Pusher data to graphite using statsd
- Graphite returning incorrect datapoint
- issue with upstart job for statsd
- How to send nc similar command using python?
- Having trouble getting accurate numbers from graphite
- How do I use StatsD with Zend Framework application?
- Migrating from graphite to graph-explorer
- How to Decompose Global System Metrics to a Per Endpoint Basis on a Webserver
- multiple destination for statsd in object-server.conf of swift open stack
- redis batsd (statsd) counter
- can graphite or grafana used to monitor pyspark metrics?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Here is my solution. I used PySpark's accumulators to collect the metrics(number of http calls, payload sent per call, etc.) at each partitions, at the driver node, assign these accumulators' value to
statsDgaugevariable, and send these metrics toGraphiteserver and eventually visualized them inGrafanadashboard. It works so far so good.