|
| 1 | +--- |
| 2 | +title: Run Glowroot on Azure Cosmos DB Cassandra API(preview) |
| 3 | +description: This article details how to run Glowroot in Azure Cosmos DB Cassandra API. |
| 4 | +author: IriaOsara |
| 5 | +ms.author: IriaOsara |
| 6 | +ms.service: cosmos-db |
| 7 | +ms.subservice: cosmosdb-cassandra |
| 8 | +ms.topic: how-to |
| 9 | +ms.date: 10/02/2021 |
| 10 | +ms.custom: template-how-to |
| 11 | +--- |
| 12 | + |
| 13 | +# Run Glowroot on Azure Cosmos DB Cassandra API |
| 14 | +[!INCLUDE[appliesto-cassandra-api](../includes/appliesto-cassandra-api.md)] |
| 15 | + |
| 16 | +This article explains how to setup Glowroot on Azure Cosmos DB Cassandra API. Glowroot is an APM tool that helps you get to monitor you application performance. |
| 17 | + |
| 18 | +## Prerequisites and Setup |
| 19 | + |
| 20 | +* [Create an Azure Cosmos DB Cassandra API account](manage-data-java.md#create-a-database-account). |
| 21 | +* [Install JAVA (version 8) for Windows](https://developers.redhat.com/products/openjdk/download) |
| 22 | +> [!NOTE] |
| 23 | +> Note that there are certain known incompatible build targets with newer versions. If you already have a newer version of JAVA, you can still download JDK8. |
| 24 | +> If you have newer JAVA installed in addition to JDK8: Set the %JAVA_HOME% variable in the local command prompt to target JDK8. This will only change java version for the current session and leave global machine settings intact. |
| 25 | +* [Install maven](https://maven.apache.org/download.cgi) |
| 26 | + * Verify successful installation by running: `mvn --version` |
| 27 | + |
| 28 | +## Run Glowroot central collector with Cosmos DB endpoint |
| 29 | +Once the endpoint configuration has been completed. |
| 30 | +1. [Download Glowroot central collector distribution](https://github.com/glowroot/glowroot/wiki/Central-Collector-Installation#central-collector-installation) |
| 31 | +2. In the glowroot-central.properties file, populate the following properties from your Cosmos DB Cassandra endpoint |
| 32 | + * cassandra.contactPoints |
| 33 | + * cassandra.username |
| 34 | + * cassandra.password |
| 35 | +3. Set properties `cassandra.ssl=true`, `cassandra.gcGraceSeconds=0`, and `cassandra.port=10350`. |
| 36 | +4. Ensure that the glowroot-central.properties is in the same folder as the glowroot-central.jar. |
| 37 | +5. Run `java -jar glowroot-central.jar` to begin running Glowroot. |
| 38 | + |
| 39 | +## FAQs |
| 40 | +Open a support ticket if you have issues running or testing Glowroot. Providing the subscription ID and account name where your Glowroot test will be running. |
| 41 | + |
| 42 | +## Next steps |
| 43 | +- Learn about [supported features](cassandra-support.md) in the Azure Cosmos DB Cassandra API. |
0 commit comments