<commit_before>﻿<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2008-2014 New Relic, Inc.  All rights reserved. --><!--
	When you edit this file, please use an XML aware editor (such as Visual Studio),
	and pair with the companion file extension.xsd to minimize the
	chance of introducing typos that may confuse the agent when it is run.
--><extension xmlns="urn:newrelic-extension">
	<instrumentation>

		<!-- command methods -->
		<tracerFactory name="SqlCommandTracerAsync">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlCommand">
				<exactMethodMatcher methodName="ExecuteReaderAsync" parameters="System.Data.CommandBehavior,MySqlConnector.Protocol.Serialization.IOBehavior,System.Threading.CancellationToken" />
			</match>
		</tracerFactory>

		<!-- DataReader methods. DISABLED by default due to possible performance impact. Set enabled to "true" (or omit completely) to enable this instrumentation. -->
		<tracerFactory name="DataReaderTracer" enabled="false">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlDataReader">
				<exactMethodMatcher methodName="NextResult" />
				<exactMethodMatcher methodName="Read" />
			</match>
		</tracerFactory>

		<tracerFactory name="DataReaderTracerAsync" enabled="false">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlDataReader">
				<exactMethodMatcher methodName="NextResultAsync" />
				<exactMethodMatcher methodName="ReadAsync" />
			</match>
		</tracerFactory>

		<!-- DbConnection.Open() -->
		<tracerFactory name="OpenConnectionTracer">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlConnection">
				<exactMethodMatcher methodName="Open" />
			</match>
		</tracerFactory>

	</instrumentation>
</extension><commit_msg>Instrument public methods for New Relic.<commit_after>﻿<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2008-2014 New Relic, Inc.  All rights reserved. --><!--
	When you edit this file, please use an XML aware editor (such as Visual Studio),
	and pair with the companion file extension.xsd to minimize the
	chance of introducing typos that may confuse the agent when it is run.
--><extension xmlns="urn:newrelic-extension">
	<instrumentation>

		<!-- command methods -->
		<tracerFactory name="SqlCommandTracerAsync">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlCommand">
				<exactMethodMatcher methodName="ExecuteReaderAsync" parameters="System.Threading.CancellationToken" />
				<exactMethodMatcher methodName="ExecuteReaderAsync" parameters="System.Data.CommandBehavior,System.Threading.CancellationToken" />
				<exactMethodMatcher methodName="ExecuteNonQueryAsync" parameters="System.Threading.CancellationToken" />
				<exactMethodMatcher methodName="ExecuteScalarAsync" parameters="System.Threading.CancellationToken" />
			</match>
		</tracerFactory>

		<tracerFactory name="SqlCommandTracer">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlCommand">
				<exactMethodMatcher methodName="ExecuteReader" />
				<exactMethodMatcher methodName="ExecuteReader" parameters="System.Data.CommandBehavior" />
				<exactMethodMatcher methodName="ExecuteNonQuery" />
				<exactMethodMatcher methodName="ExecuteScalar" />
			</match>
		</tracerFactory>

		<!-- DataReader methods. DISABLED by default due to possible performance impact. Set enabled to "true" (or omit completely) to enable this instrumentation. -->
		<tracerFactory name="DataReaderTracer" enabled="false">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlDataReader">
				<exactMethodMatcher methodName="NextResult" />
				<exactMethodMatcher methodName="Read" />
			</match>
		</tracerFactory>

		<tracerFactory name="DataReaderTracerAsync" enabled="false">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlDataReader">
				<exactMethodMatcher methodName="NextResultAsync" />
				<exactMethodMatcher methodName="ReadAsync" />
			</match>
		</tracerFactory>

		<!-- DbConnection.Open() -->
		<tracerFactory name="OpenConnectionTracer">
			<!-- MySqlConnector -->
			<match assemblyName="MySqlConnector" className="MySqlConnector.MySqlConnection">
				<exactMethodMatcher methodName="Open" />
			</match>
		</tracerFactory>

	</instrumentation>
</extension>
{'fraction_non_alphanumeric': 0.12953138815207782, 'fraction_numerical': 0.004862953138815208, 'mean_word_length': 5.19015047879617, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 2, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3204965', 'n_tokens_mistral': 1390, 'n_tokens_neox': 1242, 'n_words': 282}