Skip to content

Commit

Permalink
docs: update ResourceAttributes comment
Browse files Browse the repository at this point in the history
  • Loading branch information
blumamir committed Apr 24, 2022
1 parent de831e6 commit 40081fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/opentelemetry-resources/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { ResourceDetectionConfig } from './config';
import { SpanAttributes } from '@opentelemetry/api';

/**
* @deprecated please use {@link Attributes}
* `Attributes` interface is added in api v1.1.0.
* Interface for Resource attributes.
* General `Attributes` interface is added in api v1.1.0.
* To backward support older api (1.0.x), the deprecated `SpanAttributes` is used here.
*/
export type ResourceAttributes = SpanAttributes;
Expand Down

0 comments on commit 40081fc

Please sign in to comment.