• /
  • ログイン
  • 無料アカウント

Custom attributes (.NET)

When adding custom attribute values to transactions, custom events, spans, and errors, the APIs accept an object. This describes how these values are processed and how they will appear in APM. In all cases, NULL values are not recorded.

.NET type

How the value will be represented

byte, Int16, Int32, Int64

sbyte, UInt16, UInt32, UInt64

As an integral value

float, double, decimal

A decimal-based number

string

A string truncated after 255-bytes.

Empty strings are supported.

bool

True or false

DateTime

A string representation following the ISO-8601 format, including time zone information:

2020-02-13T11:31:19.5767650-08:00

TimeSpan

A decimal-based number representing number of seconds.

everything else

the ToString() method will be applied.

その他のヘルプ

さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:

問題を作成するこのページを編集する
Copyright © 2020 New Relic Inc.