<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to monitor cql queries on cassandra docker containers running on host ? in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188866#M809</link>
    <description>&lt;P&gt;I am using cassandra offical python library.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.org/project/cassandra-driver/" target="_blank"&gt;https://pypi.org/project/cassandra-driver/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 07:25:26 GMT</pubDate>
    <dc:creator>dartk</dc:creator>
    <dc:date>2022-06-22T07:25:26Z</dc:date>
    <item>
      <title>How to monitor cql queries on cassandra docker containers running on host ?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188855#M807</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I recently got to know about dynatrace , so I want to use to monitor my cassandra cql queries executed by python flask applications. All the Cassandra and services are in docker container so how can I do that ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried by enabling cql and java cql driver but no queries shows up. I have installed dynatrace one agent in my local machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A bit more information, I want to use the database monitoring tool as explained in this blog:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dynatrace.com/news/blog/cassandra-cql3-support-coming-dynatrace/" target="_blank" rel="noopener"&gt;https://www.dynatrace.com/news/blog/cassandra-cql3-support-coming-dynatrace/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 09:00:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188855#M807</guid>
      <dc:creator>dartk</dc:creator>
      <dc:date>2022-06-22T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor cql queries on cassandra docker containers running on host ?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188858#M808</link>
      <description>&lt;P&gt;Dynatrace does not have built-in auto-instrumentation for Python without code changes and relies on either &lt;A href="https://www.dynatrace.com/support/help/shortlink/opent-python" target="_self"&gt;OpenTelemetry&lt;/A&gt;, &lt;A href="https://github.com/Dynatrace/OneAgent-SDK-for-Python" target="_self"&gt;OneAgent SDK manual&lt;/A&gt; or &lt;A href="https://github.com/dynatrace-oss/OneAgent-SDK-Python-AutoInstrumentation" target="_self"&gt;OneAgent SDK autoinstrumentation.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All those methods require&amp;nbsp;touching your container image and Python code. If you use any libraries supported by the OneAgent SDK autoinstrumentation, you might want to try that first. (Flask is supported, not sure about the Cassandra library you are using).&amp;nbsp; If this does not work, go for the OpenTelemetry approach.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 06:15:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188858#M808</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-06-22T06:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor cql queries on cassandra docker containers running on host ?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188866#M809</link>
      <description>&lt;P&gt;I am using cassandra offical python library.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.org/project/cassandra-driver/" target="_blank"&gt;https://pypi.org/project/cassandra-driver/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 07:25:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188866#M809</guid>
      <dc:creator>dartk</dc:creator>
      <dc:date>2022-06-22T07:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor cql queries on cassandra docker containers running on host ?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188867#M810</link>
      <description>&lt;P&gt;This does not seem to be supported by autodynatrace (OneAgent SDK autoinstrumentation), so you should look towards using OpenTelemetry.&amp;nbsp; As you mention you are running it in a container, most likely you will need to send the data using Trace Ingest API. So on the page&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/opent-python" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/opent-python&lt;/A&gt;&amp;nbsp;in the section "Send data to Dynatrace" use the "Without OneAgent" method.&lt;BR /&gt;&lt;BR /&gt;FYI - the OneAgent method relies on the local endpoint (&lt;A href="https://localhost:14499" target="_blank"&gt;http://localhost:14499&lt;/A&gt;) which will probably will not be available in your container.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 07:59:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188867#M810</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-06-22T07:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor cql queries on cassandra docker containers running on host ?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188868#M811</link>
      <description>&lt;P&gt;Yes I am running the Cassandra database in docker container and the flask app in a seperate container.then I connect that app to Cassandra database using Cassandra driver to the exposed container port. So is this approach valid for this case?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 08:07:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188868#M811</guid>
      <dc:creator>dartk</dc:creator>
      <dc:date>2022-06-22T08:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor cql queries on cassandra docker containers running on host ?</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188894#M812</link>
      <description>&lt;P&gt;Sure. You should need to add opentelemetry instrumentation only to your container running your Flask app. Actually, my point was about getting the trace data out of the app as the local ingest port probably won't be available from the container unless you are using host network for the container.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 11:27:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/How-to-monitor-cql-queries-on-cassandra-docker-containers/m-p/188894#M812</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-06-22T11:27:15Z</dc:date>
    </item>
  </channel>
</rss>

