You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 20, 2025. It is now read-only.
By default, the Profiler creates Profiles with a period duration of 15 minutes. This means that data is accumulated, summarized and flushed every 15 minutes. The Client API must also have knowledge of this duration to correctly retrieve the profile data. If the client API is expecting 15 minute periods, it will not be able to read data generated by a Profiler that has been configured with a 1 hour period.
47
-
48
-
The period duration can be configured in the Profiler by altering the Profiler topology's static properties file (`$METRON/config/profiler.properties`). The Stellar Client API can be configured by setting the following properties in Metron's global configuration.
| profiler.client.period.duration | The duration of each profile period. This value should be defined along with `profiler.client.period.duration.units`. | Optional | 15 |
53
-
| profiler.client.period.duration.units | The units used to specify the profile period duration. This value should be defined along with `profiler.client.period.duration`. | Optional | MINUTES |
54
-
| profiler.client.hbase.table | The name of the HBase table used to store profile data. | Optional | profiler |
55
-
| profiler.client.hbase.column.family | The name of the HBase column family used to store profile data. | Optional | P |
56
-
| profiler.client.salt.divisor | The salt divisor used to store profile data. | Optional | 1000 |
57
-
| hbase.provider.impl | The name of the HBaseTableProvider implementation class. | Optional ||
58
-
59
-
## Getting Started
44
+
### Getting Started
60
45
61
46
These instructions step through the process of using the Stellar Client API on a live cluster. These instructions assume that the 'Getting Started' instructions included with the [Metron Profiler](../metron-profiler) have been followed. This will create a Profile called 'test' whose data will be retrieved with the Stellar Client API.
62
47
@@ -88,9 +73,24 @@ Returns: The profile measurements.
88
73
89
74
The client API call above has retrieved the past hour of the 'test' profile for the entity '192.168.138.158'.
90
75
91
-
## Functions
76
+
### Configuration
77
+
78
+
By default, the Profiler creates Profiles with a period duration of 15 minutes. This means that data is accumulated, summarized and flushed every 15 minutes. The Client API must also have knowledge of this duration to correctly retrieve the profile data. If the client API is expecting 15 minute periods, it will not be able to read data generated by a Profiler that has been configured with a 1 hour period.
79
+
80
+
The period duration can be configured in the Profiler by altering the Profiler topology's static properties file (`$METRON/config/profiler.properties`). The Stellar Client API can be configured by setting the following properties in Metron's global configuration.
| profiler.client.period.duration | The duration of each profile period. This value should be defined along with `profiler.client.period.duration.units`. | Optional | 15 |
85
+
| profiler.client.period.duration.units | The units used to specify the profile period duration. This value should be defined along with `profiler.client.period.duration`. | Optional | MINUTES |
86
+
| profiler.client.hbase.table | The name of the HBase table used to store profile data. | Optional | profiler |
87
+
| profiler.client.hbase.column.family | The name of the HBase column family used to store profile data. | Optional | P |
88
+
| profiler.client.salt.divisor | The salt divisor used to store profile data. | Optional | 1000 |
89
+
| hbase.provider.impl | The name of the HBaseTableProvider implementation class. | Optional ||
90
+
91
+
### Functions
92
92
93
-
### `PROFILE_GET`
93
+
####`PROFILE_GET`
94
94
95
95
Retrieves a series of values from a stored profile.
96
96
@@ -116,7 +116,7 @@ Retrieve the last 30 minutes of measurements for profile 'profile1' and entity '
0 commit comments