---
title: makeSignpostID()
framework: os
role: symbol
role_heading: Instance Method
path: os/ossignposter/makesignpostid()
---

# makeSignpostID()

Returns an identifier that’s unique within the scope of the signposter.

## Declaration

```swift
func makeSignpostID() -> OSSignpostID
```

## Mentioned in

Recording Performance Data

## Return Value

Return Value A signpost ID that you use to match an interval’s signposts.

## Discussion

Discussion The signposter uses a signpost ID to pair the beginning and the end of a signposted interval, which is necessary because multiple intervals with the same configuration and scope can be in-flight simultaneously. Use this method instead of init(log:).

## See Also

### Generating Signpost IDs

- [makeSignpostID(from:)](os/ossignposter/makesignpostid(from:).md)
- [OSSignpostID](os/ossignpostid.md)
