Skip to content

Commit

Permalink
Merge pull request #35 from ahdde/fix_carbon-clickhouse
Browse files Browse the repository at this point in the history
test connection with line break instead of space
  • Loading branch information
zivillian authored Mar 1, 2023
2 parents efab8d9 + 3934e00 commit 031b35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Graphite/PlaintextGraphiteFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public class PlaintextGraphiteFormatter: IGraphiteFormatter
private static readonly Encoding _utfNoBom = new UTF8Encoding(false, true);

/// <summary>
/// single space, will be trimmed by carbon
/// line break, will be trimmed by carbon and carbon-clickhouse
/// </summary>
private static readonly byte[] _empty = {32};
private static readonly byte[] _empty = {0x0A};

/// <summary>
/// Creates a plaintext formatter with default port 2003
Expand Down

0 comments on commit 031b35d

Please sign in to comment.