falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peeyush Bishnoi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1643) Add CLI option to display captured replication metrics
Date Mon, 07 Dec 2015 14:04:11 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044989#comment-15044989

Peeyush Bishnoi commented on FALCON-1643:

To display the replication metrics through CLI,  API is required to fetch the required metrics
from the Falcon instances vertices stored in GraphDB. 

GET http://host/metadata/discovery/$type/list?entity_name=$entity_name&limit=$limit

$type is 'metrics' and it will be defined RelationshipType.
$entity_name is name of the feed/process entity. 
$limit is number of instances.

Note: Recipe create the process entity to replicate the data from source to destination.

Fetch 10 Falcon instances replication metrics for entity name hdfs-replication :
GET http://host/graphs/lineage/metrics/list?entity_name=hdfs-replication&limit=10

If limit attribute is not defined by default, API will fetch the metrics for 5 instances.

> Add CLI option to display captured replication metrics
> ------------------------------------------------------
>                 Key: FALCON-1643
>                 URL: https://issues.apache.org/jira/browse/FALCON-1643
>             Project: Falcon
>          Issue Type: New Feature
>    Affects Versions: 0.8
>            Reporter: Peeyush Bishnoi
>            Assignee: Peeyush Bishnoi
>             Fix For: trunk
> Through FALCON-1102, replication metrics are getting captured and published to GraphDB.
There should be CLI option to display captured replication metrics from GraphDB.

This message was sent by Atlassian JIRA

View raw message