Skip to content

Commit

Permalink
Fix httprb constant
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Dec 20, 2023
1 parent 3540276 commit 807abc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ end
| `peer_service` | `DD_TRACE_HTTPRB_PEER_SERVICE` | Name of external service the application connects to | `nil` |
| `distributed_tracing` | | Enables [distributed tracing](#distributed-tracing) | `true` |
| `split_by_domain` | | Uses the request domain as the service name when set to `true`. | `false` |
| `error_status_codes` | `DD_TRACE_HTTPCLIENT_ERROR_STATUS_CODES` | Range or Array of HTTP status codes that should be traced as errors. | `400...600` |
| `error_status_codes` | `DD_TRACE_HTTPRB_ERROR_STATUS_CODES` | Range or Array of HTTP status codes that should be traced as errors. | `400...600` |
### httpclient
Expand Down
4 changes: 2 additions & 2 deletions lib/datadog/tracing/contrib/httprb/ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module Ext
ENV_SERVICE_NAME = 'DD_TRACE_HTTPRB_SERVICE_NAME'
ENV_PEER_SERVICE = 'DD_TRACE_HTTPRB_PEER_SERVICE'
ENV_ANALYTICS_ENABLED = 'DD_TRACE_HTTPRB_ANALYTICS_ENABLED'
ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_EHTTPRB_ANALYTICS_SAMPLE_RATE'
ENV_ERROR_STATUS_CODES = 'DD_TRACE_HTTPCLIENT_ERROR_STATUS_CODES'
ENV_ANALYTICS_SAMPLE_RATE = 'DD_TRACE_HTTPRB_ANALYTICS_SAMPLE_RATE'
ENV_ERROR_STATUS_CODES = 'DD_TRACE_HTTPRB_ERROR_STATUS_CODES'
DEFAULT_PEER_SERVICE_NAME = 'httprb'
SPAN_REQUEST = 'httprb.request'
TAG_COMPONENT = 'httprb'
Expand Down

0 comments on commit 807abc2

Please sign in to comment.